[Reportbug-commits] [reportbug] 02/03: BF: correct use of uname -- no argument (Closes: #607849)

Sandro Tosi morph at moszumanska.debian.org
Sun Jan 26 19:45:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

morph pushed a commit to branch yoh_master
in repository reportbug.

commit c1c54fc3a65513133eb49352b8a8aebcebb409c2
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)
---
 reportbug/debianbts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

-- 
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