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

Sandro Tosi morph at debian.org
Sun Dec 26 14:42:21 UTC 2010


The following commit has been merged in the master branch:
commit fdecec3792966eb179920eefd4952371da65faa8
Author: Yaroslav Halchenko <debian at onerussian.com>
Date:   Thu Dec 23 20:02:37 2010 -0500

    BF: correct use of uname -- no argument (Closes: #607849)

diff --git a/reportbug/debianbts.py b/reportbug/debianbts.py
index 0ddd281..514b5eb 100644
--- a/reportbug/debianbts.py
+++ b/reportbug/debianbts.py
@@ -650,7 +650,7 @@ def ubuntu_infofunc():
     return utils.lsb_release_info() + dpkg_infofunc()
 
 def generic_infofunc():
-    utsmachine = os.uname(4)
+    utsmachine = os.uname()[4]
     return utils.lsb_release_info() + u'Architecture: %s\n\n' % utsmachine
 
 # Supported servers

-- 
Reportbug - reports bugs in the Debian distribution



More information about the Reportbug-commits mailing list