[mipp] 05/06: New 0002-Fix-configuration-loading.patch
Antonio Valentino
a_valentino-guest at moszumanska.debian.org
Tue Nov 1 09:46:04 UTC 2016
This is an automated email from the git hooks/post-receive script.
a_valentino-guest pushed a commit to branch master
in repository mipp.
commit e74b2593e4c138a8c4b82804554bc51c5eee6c61
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date: Tue Nov 1 10:35:24 2016 +0100
New 0002-Fix-configuration-loading.patch
---
debian/changelog | 2 ++
debian/patches/0002-Fix-configuration-loading.patch | 21 +++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 24 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 66e64a5..270e7bb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ mipp (1.0.0-1) UNRELEASED; urgency=medium
* New upstream release
* debian/patches
- drop 0002-fix-metadata.patch applied upstream
+ - new 0002-Fix-configuration-loading.patch: configuration
+ file namess are all lowercase
- refresh all patches
-- Antonio Valentino <antonio.valentino at tiscali.it> Mon, 31 Oct 2016 16:40:06 +0000
diff --git a/debian/patches/0002-Fix-configuration-loading.patch b/debian/patches/0002-Fix-configuration-loading.patch
new file mode 100644
index 0000000..4755a51
--- /dev/null
+++ b/debian/patches/0002-Fix-configuration-loading.patch
@@ -0,0 +1,21 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Tue, 1 Nov 2016 10:29:01 +0100
+Subject: Fix configuration loading
+
+---
+ mipp/cfg.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mipp/cfg.py b/mipp/cfg.py
+index dd87b57..1c9071a 100644
+--- a/mipp/cfg.py
++++ b/mipp/cfg.py
+@@ -21,7 +21,7 @@ class _ConfigReader(object):
+ raise mipp.ConfigReaderError(
+ "PPP_CONFIG_DIR environment variable is not set")
+
+- self.config_file = home + '/' + satname + '.cfg'
++ self.config_file = home + '/' + satname.lower() + '.cfg'
+ if not os.path.isfile(self.config_file):
+ raise mipp.ConfigReaderError(
+ "unknown satellite: '%s' (no such file: '%s')"%
diff --git a/debian/patches/series b/debian/patches/series
index 088a604..74f7dff 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-fix-build-path-management.patch
+0002-Fix-configuration-loading.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mipp.git
More information about the Pkg-grass-devel
mailing list