From 9132556fd9a8f2c5e393f8dbb2b7d4086ebaffc3 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 4 Jul 2017 23:32:30 -0700 Subject: [PATCH] PyLinkNetworkCore: fix __repr__ definition --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 74bfa72..20abbc9 100644 --- a/classes.py +++ b/classes.py @@ -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):