mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
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__.
|
||||
|
||||