Skip to content

Commit

Permalink
#2: structures.py; Two classes renamed.
Browse files Browse the repository at this point in the history
- TrackingStates -> TrackingState
- ExportTrackingResult -> TrackingResult
  • Loading branch information
Bystroushaak committed Nov 4, 2014
1 parent cfe6b75 commit 282065b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/edeposit/amqp/ltp/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ class TrackingRequest(namedtuple("TrackingRequest", ["book_uuid"])):
pass


class TrackingStates():
class TrackingState():
def __init__(self, exported, error):
self.exported = exported
self.error = error


class ExportTrackingResult():
class TrackingResult():
def __init__(self, book_id, state):
self.book_id = book_id
self.state = state

0 comments on commit 282065b

Please sign in to comment.