[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.0-35-g98280a7
Sandro Tosi
morph at debian.org
Fri Apr 10 21:09:51 UTC 2009
The following commit has been merged in the master branch:
commit ac8689da391a8dca3eb9a6fb849c4955d3b0edd0
Author: Sandro Tosi <morph at debian.org>
Date: Fri Apr 10 22:40:23 2009 +0200
* reportbug/utils.py
- correctly recognize the CPUs number on Alpha systems; thanks to Juhana
Helovuo for the report and and Carl Chenet for the patch; Closes: #512675
diff --git a/debian/changelog b/debian/changelog
index 16bc602..94e55ef 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,9 @@ reportbug (4.1) UNRELEASED; urgency=low
- check if all the files passed on the CLI are present, if not quitting;
thanks to Jari Aalto for the report and Carl Chenet for the patch;
Closes: #445443
+ * reportbug/utils.py
+ - correctly recognize the CPUs number on Alpha systems; thanks to Juhana
+ Helovuo for the report and and Carl Chenet for the patch; Closes: #512675
[ Luca Bruno ]
* bin/reportbug
@@ -51,7 +54,7 @@ reportbug (4.1) UNRELEASED; urgency=low
- do not try to import newt ui as default ui, since it's removed now; use
text ui instead
- -- Sandro Tosi <morph at debian.org> Thu, 09 Apr 2009 00:05:46 +0200
+ -- Sandro Tosi <morph at debian.org> Fri, 10 Apr 2009 22:37:13 +0200
reportbug (4.0) unstable; urgency=low
diff --git a/reportbug/utils.py b/reportbug/utils.py
index f191ce2..6680bdd 100644
--- a/reportbug/utils.py
+++ b/reportbug/utils.py
@@ -717,7 +717,9 @@ def get_cpu_cores():
for line in fob:
if line.startswith('processor'):
cpucount += 1
- #print repr(line), cpucount
+ #Alpha plateform
+ if line.startswith('cpus detected'):
+ cpucount = int(line.split()[-1])
fob.close()
return max(cpucount, 1)
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list