|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Rename parameter to avoid shadowing builtin.
# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID ca37f8be942696e97815c2060eff04273268b379
# Parent a05e55c919c1f765b9b93a0178005c4a19cb471e
Rename parameter to avoid shadowing builtin.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r a05e55c919c1 -r ca37f8be9426 tools/python/xen/xend/XendCheckpoint.py
--- a/tools/python/xen/xend/XendCheckpoint.py Mon Nov 7 14:06:27 2005
+++ b/tools/python/xen/xend/XendCheckpoint.py Mon Nov 7 20:22:02 2005
@@ -209,9 +209,9 @@
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:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Rename parameter to avoid shadowing builtin.,
Xen patchbot -unstable <=
|
|
|
|
|