[Reportbug-commits] [reportbug] 12/27: add LANGUAGE env var to locales bugreport section; Closes: #840898
Sandro Tosi
morph at moszumanska.debian.org
Mon May 29 20:14:06 UTC 2017
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository reportbug.
commit 6bc084628d78092bb4e194025c90dcf0afde21c4
Author: Sandro Tosi <morph at debian.org>
Date: Mon May 29 13:15:30 2017 -0400
add LANGUAGE env var to locales bugreport section; Closes: #840898
---
debian/changelog | 4 +++-
reportbug/bugreport.py | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index da2461a..778317a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,8 +18,10 @@ reportbug (7.1.7) UNRELEASED; urgency=medium
* debian/desktop
- add Danish translation to desktop file; patch by scootergrisen;
Closes: #855973
+ * reportbug/bugreport.py
+ - add LANGUAGE env var to locales bugreport section; Closes: #840898
- -- Sandro Tosi <morph at debian.org> Mon, 29 May 2017 12:01:38 -0400
+ -- Sandro Tosi <morph at debian.org> Mon, 29 May 2017 13:14:45 -0400
reportbug (7.1.6) unstable; urgency=medium
diff --git a/reportbug/bugreport.py b/reportbug/bugreport.py
index 44a8c73..ea835fa 100644
--- a/reportbug/bugreport.py
+++ b/reportbug/bugreport.py
@@ -86,7 +86,7 @@ class bugreport(object):
locinfo = []
langsetting = os.environ.get('LANG', 'C')
allsetting = os.environ.get('LC_ALL', '')
- for setting in ('LANG', 'LC_CTYPE'):
+ for setting in ('LANG', 'LC_CTYPE', 'LANGUAGE'):
if setting == 'LANG':
env = langsetting
else:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reportbug/reportbug.git
More information about the Reportbug-commits
mailing list