This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-21 18:47:31 +01:00
commit dd6ab4433e
8 files changed
+36 -45

No files matched your search

+1 -1
View File
@@ -114,7 +114,7 @@ class XendDomain:
## private:
def onReleaseDomain(self):
def onReleaseDomain(self, _):
self.domains_lock.acquire()
try:
self.refresh()
@@ -328,7 +328,7 @@ class DevController:
ev = Event()
result = { 'status': Timeout }
xswatch(statusPath, hotplugStatusCallback, statusPath, ev, result)
xswatch(statusPath, hotplugStatusCallback, ev, result)
ev.wait(DEVICE_CREATE_TIMEOUT)
return result['status']
+1 -1
View File
@@ -51,7 +51,7 @@ def watchMain():
try:
we = xs.read_watch()
watch = we[1]
res = watch.fn(*watch.args, **watch.kwargs)
res = watch.fn(we[0], *watch.args, **watch.kwargs)
if not res:
watch.unwatch()
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.