From 71c2417b9da5685aee8eb3e63926370d1514a5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Martin=20Kl=C3=BCnder?= Date: Sat, 21 Feb 2015 19:17:49 +0100 Subject: [PATCH] How about a less confusing repr? MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit „WTF, why is this a string?” --- node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.py b/node.py index bece59c..78e7765 100644 --- a/node.py +++ b/node.py @@ -24,7 +24,7 @@ class Node(): self.interfaces[mac] = Interface() def __repr__(self): - return self.macs.__repr__() + return '' % self.macs.__repr__() class Interface(): def __init__(self):