diff options
Diffstat (limited to 'gitautodeploy/events.py')
-rw-r--r-- | gitautodeploy/events.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gitautodeploy/events.py b/gitautodeploy/events.py index 777055a..cf777a6 100644 --- a/gitautodeploy/events.py +++ b/gitautodeploy/events.py @@ -148,4 +148,7 @@ class EventStore(object): self.update_observers(action, message) def dict_repr(self): - return map(lambda x: x.dict_repr(), self.actions) + action_repr = [] + for action in self.actions: + action_repr.append(action.dict_repr()) + return action_repr |