[Reportbug-commits] [SCM] Reportbug - reports bugs in the Debian distribution branch, master, updated. 4.5-27-ga4a34e7
Sandro Tosi
morph at debian.org
Mon Aug 10 18:27:40 UTC 2009
The following commit has been merged in the master branch:
commit 63e8f3bad659ae213c657fce484e0c5c5f7852b1
Author: Sandro Tosi <morph at debian.org>
Date: Mon Aug 10 16:43:58 2009 +0200
directly return what os.system() returns
diff --git a/reportbug/ui/text_ui.py b/reportbug/ui/text_ui.py
index 9c926e3..68caa76 100644
--- a/reportbug/ui/text_ui.py
+++ b/reportbug/ui/text_ui.py
@@ -74,8 +74,7 @@ def system(cmdline):
x = os.getcwd()
except OSError:
os.chdir('/')
- returnvalue = os.system(cmdline)
- return returnvalue
+ return os.system(cmdline)
def indent_wrap_text(text, starttext='', indent=0, linelen=None):
"""Wrapper for textwrap.fill to the existing API."""
--
Reportbug - reports bugs in the Debian distribution
More information about the Reportbug-commits
mailing list