Skip to content
Snippets Groups Projects
Commit 57363f08 authored by Vincent Texier's avatar Vincent Texier
Browse files

Merge remote-tracking branch 'origin/dev' into dev

parents fa14e204 359edf9e
No related branches found
No related tags found
No related merge requests found
...@@ -297,8 +297,13 @@ class Transfer(QObject): ...@@ -297,8 +297,13 @@ class Transfer(QObject):
return False return False
for transition in self._table_states[transition_key]: for transition in self._table_states[transition_key]:
if transition[0](*inputs): if transition[0](*inputs):
if self.sha_hash:
logging.debug("{0} : {1} --> {2}".format(self.sha_hash[:5], self.state.name, logging.debug("{0} : {1} --> {2}".format(self.sha_hash[:5], self.state.name,
transition[2].name)) transition[2].name))
else:
logging.debug("Unsent transfer : {0} --> {1}".format(self.state.name,
transition[2].name))
# If the transition changes data, apply changes # If the transition changes data, apply changes
if transition[1]: if transition[1]:
transition[1](*inputs) transition[1](*inputs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment