diff --git a/tools/python/xen/xend/xenstore/xstransact.py b/tools/python/xen/xend/xenstore/xstransact.py index 8d3adb1771..eb39368068 100644 --- a/tools/python/xen/xend/xenstore/xstransact.py +++ b/tools/python/xen/xend/xenstore/xstransact.py @@ -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__.