[med-svn] [qcumber] 08/15: Typo
Andreas Tille
tille at debian.org
Wed Nov 23 08:21:08 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository qcumber.
commit 7df472552b19e7e80ac346232cca97e4928e2540
Author: Andreas Tille <tille at debian.org>
Date: Fri Oct 21 18:14:24 2016 +0200
Typo
---
debian/patches/config_in_etc.patch | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/patches/config_in_etc.patch b/debian/patches/config_in_etc.patch
index 3cd2b60..df3509c 100644
--- a/debian/patches/config_in_etc.patch
+++ b/debian/patches/config_in_etc.patch
@@ -9,12 +9,12 @@ Description: Config file should be in /etc/qcumber
default_parameter = configparser.ConfigParser()
-default_parameter.read(join(dirname(__file__), "parameter.txt"))
-+default_parameter.read("/etc/qcumber", "parameter.txt"))
++default_parameter.read(join("/etc/qcumber", "parameter.txt"))
def get_tool_path(name, section="PATH"):
config = configparser.ConfigParser()
- config.read(join(dirname(__file__), "config.txt"))
-+ config.read("/etc/qcumber", "config.txt"))
++ config.read(join("/etc/qcumber", "config.txt"))
path_dict = config[section]
return path_dict[name]
@@ -23,7 +23,7 @@ Description: Config file should be in /etc/qcumber
except:
config = configparser.ConfigParser()
- config.read(join(dirname(__file__), "config.txt"))
-+ config.read("/etc/qcumber", "config.txt"))
++ config.read(join("/etc/qcumber", "config.txt"))
if "VERSION" in config:
self.trimmo_version = config["VERSION"]["trimmomatic"]
else:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/qcumber.git
More information about the debian-med-commit
mailing list