3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00

PyLinkNetworkCore: fix __repr__ definition

This commit is contained in:
James Lu 2017-07-04 23:32:30 -07:00
parent b780070ee6
commit 9132556fd9

View File

@ -171,7 +171,7 @@ class PyLinkNetworkCore(utils.DeprecatedAttributesObject, utils.CamelCaseToSnake
self.log_setup()
def __repr__(self):
return "<%s object for network %r>" % (self.__class__.name, self.name)
return "<%s object for network %r>" % (self.__class__.__name__, self.name)
### General utility functions
def call_hooks(self, hook_args):