WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Remove unused parameter., Xen patchbot -unstable <=