summaryrefslogtreecommitdiff
path: root/events.py
diff options
context:
space:
mode:
Diffstat (limited to 'events.py')
-rw-r--r--events.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/events.py b/events.py
index 693519d..0e44d8d 100644
--- a/events.py
+++ b/events.py
@@ -33,12 +33,12 @@ class Event(object):
if hasattr(self, key)
]
arguments = ', '.join(
- [_F('{key!s}={attr!r})', key=key, attr=getattr(self, key)) for key in attributes]
+ [_F('{key!s}={attr!r}', key=key, attr=getattr(self, key)) for key in attributes]
)
if self.comment not in [None, CommentCheck]:
arguments += ', comment={!r}'.format(self.comment)
return _F(
- '{self_class_name!s}{}arguments!s}',
+ '{self_class_name!s}{arguments!s}',
self_class_name=self.__class__.__name__,
arguments=arguments,
)