Minor tidy.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@ewan committed 2005-09-28 14:02:38 +01:00
1 parent 85506dfc97
commit bcf976db0e
1 file changed
+1 -1
+1 -1
View File
@@ -615,7 +615,7 @@ class XendDomainInfo:
if not reason in shutdown_reasons.values():
raise XendError('invalid reason:' + reason)
self.storeVm("control/shutdown", reason)
if not reason in ['suspend']:
if not reason == 'suspend':
self.storeVm('xend/shutdown_start_time', time.time())
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.