modify
This commit is contained in:
parent
bdb5918f08
commit
e9e0179967
|
@ -118,7 +118,9 @@ class UpdateManagerDbusController(dbus.service.Object):
|
|||
if self.transaction.cancellable == True:
|
||||
self.transaction.cancel()
|
||||
status = True
|
||||
message = "success"
|
||||
message = "Success"
|
||||
elif self.transaction == None or self.transaction.cancellable == False:
|
||||
message = "Can not Cancel"
|
||||
except Exception as e:
|
||||
return (status,str(e))
|
||||
return (status, message)
|
||||
|
|
Loading…
Reference in New Issue