Rename parameter to avoid shadowing builtin.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-07 21:22:02 +01:00
1 parent c49bf239ba
commit a5ba036bad
1 file changed
+2 -2
+2 -2
View File
@@ -209,9 +209,9 @@ def forkHelper(cmd, fd, inputHandler, closeToChild):
raise XendError("%s failed" % string.join(cmd))
def slurp(file):
def slurp(infile):
while 1:
line = file.readline()
line = infile.readline()
if line == "":
break
else:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.