Added assertion, to stop it blowing up more obscurely a little later.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-07 12:30:35 +01:00
1 parent 34c75893fb
commit 3dd98c5e02
1 file changed
+2
@@ -11,6 +11,8 @@ from xen.xend.xenstore.xsutil import xshandle
class xstransact:
def __init__(self, path):
assert path is not None
self.in_transaction = False # Set this temporarily -- if this
# constructor fails, then we need to
# protect __del__.
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.