[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.9-150-g7707e76

Sandro Tosi morph at debian.org
Sun Dec 26 18:05:05 UTC 2010


The following commit has been merged in the master branch:
commit c23dac1263aea50f039b36a79f3e492446b072ae
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Dec 26 15:57:04 2010 +0100

    call dpkg with '--print-architecture' option to get the arch; thanks to Jakub Wilk for the report; Closes: #599362

diff --git a/debian/changelog b/debian/changelog
index 4535049..7adedcc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,8 @@ reportbug (4.99.0) UNRELEASED; urgency=low
   * reportbug/utils.py
     - fixed a typo; thanks to Jakub Wilk for the report and patch;
       Closes: #599363
+    - call dpkg with '--print-architecture' option to get the arch; thanks to
+      Jakub Wilk for the report; Closes: #599362
   * reportbug/debianbts.py, test/test_debianbts.py
     - fix os.uname() call in generic_infofunc() method, also adding unit tests
       for it; thanks to Yaroslav Halchenko for report and patch; Closes: #607849
@@ -20,7 +22,7 @@ reportbug (4.99.0) UNRELEASED; urgency=low
     - commands.getoutput() strips tailing new line, so adding one to
       lsb_release_info; thanks to Yaroslav Halchenko for (partial) patch
 
- -- Sandro Tosi <morph at debian.org>  Sun, 26 Dec 2010 12:09:03 +0100
+ -- Sandro Tosi <morph at debian.org>  Sun, 26 Dec 2010 15:56:52 +0100
 
 reportbug (4.12.6) unstable; urgency=low
 
diff --git a/reportbug/utils.py b/reportbug/utils.py
index 8d6ee0d..1c43d9c 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -721,7 +721,7 @@ def lsb_release_info():
     return commands.getoutput('lsb_release -a 2>/dev/null') + '\n'
 
 def get_arch():
-    arch = commands.getoutput('COLUMNS=79 dpkg --print-installation-architecture 2>/dev/null')
+    arch = commands.getoutput('COLUMNS=79 dpkg --print-architecture 2>/dev/null')
     if not arch:
         un = os.uname()
         arch = un[4]

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list