equal
deleted
inserted
replaced
37 'R': _('relation removal'), |
37 'R': _('relation removal'), |
38 } |
38 } |
39 |
39 |
40 |
40 |
41 class NoSuchTransaction(RepositoryError): |
41 class NoSuchTransaction(RepositoryError): |
42 pass |
42 # Used by CubicWebException |
|
43 msg = _("there is no transaction #%s") |
43 |
44 |
|
45 def __init__(self, txuuid): |
|
46 super(RepositoryError, self).__init__(txuuid) |
|
47 self.txuuid = txuuid |
44 |
48 |
45 class Transaction(object): |
49 class Transaction(object): |
46 """an undoable transaction""" |
50 """an undoable transaction""" |
47 |
51 |
48 def __init__(self, uuid, time, ueid): |
52 def __init__(self, uuid, time, ueid): |