[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
PATCH: remove statement without effect to make pychecker happy
- From: Hans de Goede <hdegoede redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: PATCH: remove statement without effect to make pychecker happy
- Date: Tue, 03 Feb 2009 13:31:24 +0100
subject says it all:
diff --git a/iutil.py b/iutil.py
index c39f642..f13956f 100644
--- a/iutil.py
+++ b/iutil.py
@@ -115,8 +115,6 @@ def execWithCapture(command, argv, stdin = 0, stderr = 2,
root='/'):
if type(stderr) == type("string"):
stderr = open(stderr, "w")
- else:
- stderr = stderr
runningLog = open("/tmp/program.log", "a")
runningLog.write("Running... %s\n" % ([command] + argv,))
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]