mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
Remove unused parameter.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
1c94782d38
commit
882949f3f5
1 file changed
+3
-3
@@ -74,7 +74,7 @@ class xstransact:
|
||||
('%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 @@ class xstransact:
|
||||
|
||||
Read = classmethod(Read)
|
||||
|
||||
def Write(cls, path, *args, **opts):
|
||||
def Write(cls, path, *args):
|
||||
while True:
|
||||
t = cls(path)
|
||||
try:
|
||||
t.write(*args, **opts)
|
||||
t.write(*args)
|
||||
if t.commit():
|
||||
return
|
||||
except:
|
||||
|
||||