From 2cca7019835bad583b5bbbce66b26065f57db4ef Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Tue, 24 May 2016 05:54:21 -0400 Subject: return instead of assignment to result --- python/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/__init__.py b/python/__init__.py index fb07cc4d..cdbce895 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -2490,7 +2490,7 @@ class FunctionGraphTextLine: return result def __repr__(self): - result = "<0x%x: %s>" % (self.address, str(self)) + return "<0x%x: %s>" % (self.address, str(self)) class FunctionGraphEdge: def __init__(self, branch_type, arch, target, points): -- cgit v1.3.1