mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Rename parameter to avoid shadowing builtin.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
c49bf239ba
commit
a5ba036bad
1 file changed
+2
-2
@@ -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:
|
||||
|
||||