mirror of
https://github.com/jlu5/PyLink.git
synced 2025-02-03 08:04:07 +01:00
PyLinkNetworkCore: fix __repr__ definition
This commit is contained in:
parent
b780070ee6
commit
9132556fd9
@ -171,7 +171,7 @@ class PyLinkNetworkCore(utils.DeprecatedAttributesObject, utils.CamelCaseToSnake
|
|||||||
self.log_setup()
|
self.log_setup()
|
||||||
|
|
||||||
def __repr__(self):
|
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
|
### General utility functions
|
||||||
def call_hooks(self, hook_args):
|
def call_hooks(self, hook_args):
|
||||||
|
Loading…
Reference in New Issue
Block a user