issue #212: service: more concise repr

pull/237/head
David Wilson 8 years ago
parent ff7fb00569
commit bf6c2fa97c

@ -138,10 +138,7 @@ class Service(object):
self.running = True self.running = True
def __repr__(self): def __repr__(self):
return '%s.%s()' % ( return '%s()' % (self.__class__.__name__,)
self.__class__.__module__,
self.__class__.__name__,
)
def on_shutdown(self): def on_shutdown(self):
""" """

Loading…
Cancel
Save