FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > EPEL Development

 
 
LinkBack Thread Tools
 
Old 02-03-2009, 11:31 AM
Hans de Goede
 
Default PATCH: remove statement without effect to make pychecker happy

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
" % ([command] + argv,))

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 02-03-2009, 02:29 PM
Jeremy Katz
 
Default PATCH: remove statement without effect to make pychecker happy

Nice, Ack

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org