[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Remove unused parameter.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 464e03b08f65a0f0a84dfff59990b365513e9e36
# Parent  055efdd6b7c5ed07ac6903923634637793ff9106
Remove unused parameter.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 055efdd6b7c5 -r 464e03b08f65 
tools/python/xen/xend/xenstore/xstransact.py
--- a/tools/python/xen/xend/xenstore/xstransact.py      Tue Nov  8 02:35:25 2005
+++ b/tools/python/xen/xend/xenstore/xstransact.py      Tue Nov  8 10:35:25 2005
@@ -74,7 +74,7 @@
                                ('%s, while writing %s : %s' %
                                 (ex.args[1], path, str(data))))
 
-    def write(self, *args, **opts):
+    def write(self, *args):
         if len(args) == 0:
             raise TypeError
         if isinstance(args[0], dict):
@@ -235,11 +235,11 @@
 
     Read = classmethod(Read)
 
-    def Write(cls, path, *args, **opts):
-        while True:
-            t = cls(path)
-            try:
-                t.write(*args, **opts)
+    def Write(cls, path, *args):
+        while True:
+            t = cls(path)
+            try:
+                t.write(*args)
                 if t.commit():
                     return
             except:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.