Remove unused parameter.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-08 11:35:25 +01:00
1 parent 1c94782d38
commit 882949f3f5
1 file changed
+3 -3
+3 -3
View File
@@ -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:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.