launch error handling fix

Wed, 24 Jan 2018 00:20:10 +0000

author
Tuomo Valkonen <tuomov@iki.fi>
date
Wed, 24 Jan 2018 00:20:10 +0000
changeset 58
170d69da51bb
parent 57
121aa89fe670
child 59
8d0a815022cc

launch error handling fix

backup.py file | annotate | diff | comparison | revisions
--- a/backup.py	Tue Jan 23 22:55:00 2018 +0000
+++ b/backup.py	Wed Jan 24 00:20:10 2018 +0000
@@ -319,11 +319,11 @@
             self.logger.debug("Queued operation aborted")
         else:
             self.scheduled_operation=None
-            self.current_operation=op
-            self.current_operation['when_monotonic']=time.monotonic()
 
             self.__launch(op)
 
+            self.current_operation=op
+            self.current_operation['when_monotonic']=time.monotonic()
             self.state=ACTIVE
             self.__update_status()
 

mercurial