equal
deleted
inserted
replaced
969 |
969 |
970 @_open_only |
970 @_open_only |
971 def transaction_uuid(self, set=True): |
971 def transaction_uuid(self, set=True): |
972 uuid = self.transaction_data.get('tx_uuid') |
972 uuid = self.transaction_data.get('tx_uuid') |
973 if set and uuid is None: |
973 if set and uuid is None: |
974 self.transaction_data['tx_uuid'] = uuid = uuid4().hex |
974 self.transaction_data['tx_uuid'] = uuid = unicode(uuid4().hex) |
975 self.repo.system_source.start_undoable_transaction(self, uuid) |
975 self.repo.system_source.start_undoable_transaction(self, uuid) |
976 return uuid |
976 return uuid |
977 |
977 |
978 @_open_only |
978 @_open_only |
979 def transaction_inc_action_counter(self): |
979 def transaction_inc_action_counter(self): |