summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/events.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2017-01-03 17:19:25 +0100
committerOliver Poignant <oliver@poignant.se>2017-01-03 17:19:25 +0100
commitf48093c4415c04b070886c19bdc2fcc7c12fcbd0 (patch)
tree93ea57bc3064fd10d37b9b8d3db07a91b57c499a /gitautodeploy/events.py
parent644d98ca85730bf2abb494e45e35b95bc370648b (diff)
downloadGit-Auto-Deploy-f48093c4415c04b070886c19bdc2fcc7c12fcbd0.zip
Git-Auto-Deploy-f48093c4415c04b070886c19bdc2fcc7c12fcbd0.tar.gz
Git-Auto-Deploy-f48093c4415c04b070886c19bdc2fcc7c12fcbd0.tar.bz2
Compatibility with python >= 3.4
Diffstat (limited to 'gitautodeploy/events.py')
-rw-r--r--gitautodeploy/events.py5
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