|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Mark unused variables as such. Remove unused import.
# HG changeset patch
# User emellor@ewan
# Node ID 90bcdd41dbf7f6f7c6a372cd45022ea1a20b949b
# Parent 26c6d506a97c92e73bbf21ba861184e7565f4568
Mark unused variables as such. Remove unused import.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
diff -r 26c6d506a97c -r 90bcdd41dbf7 tools/python/xen/xend/encode.py
--- a/tools/python/xen/xend/encode.py Tue Sep 20 16:21:39 2005
+++ b/tools/python/xen/xend/encode.py Tue Sep 20 16:22:20 2005
@@ -26,7 +26,6 @@
from StringIO import StringIO
import urllib
-import httplib
import random
import md5
@@ -104,7 +103,7 @@
val = ({}, None)
if d is None: return val
multipart = 0
- for (k, v) in data_values(d):
+ for (_, v) in data_values(d):
if encode_isfile(v):
multipart = 1
break
@@ -156,7 +155,7 @@
def mime_boundary():
random.seed()
m = md5.new()
- for i in range(0, 10):
+ for _ in range(0, 10):
c = chr(random.randint(1, 255))
m.update(c)
b = m.hexdigest()
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Mark unused variables as such. Remove unused import.,
Xen patchbot -unstable <=
|
|
|
|
|