]> git.donarmstrong.com Git - deb_pkgs/autorandr.git/commitdiff
Fixed exception handler
authorPhillip Berndt <phillip.berndt@googlemail.com>
Tue, 14 Apr 2015 07:23:00 +0000 (09:23 +0200)
committerPhillip Berndt <phillip.berndt@googlemail.com>
Tue, 14 Apr 2015 07:23:00 +0000 (09:23 +0200)
autorandr.py

index 42a9dac3e96a931f8bf48e77a36f4f575fdf2ddf..1658f26e6a097b2733034c5e5fbdf6d5fe443bda 100755 (executable)
@@ -97,7 +97,7 @@ class AutorandrException(Exception):
         if self.line:
             retval.append(" (line %d)" % self.line)
         if self.original_exception:
-            retval.append(":\n  " % self.line)
+            retval.append(":\n  ")
             retval.append(str(self.original_exception).replace("\n", "\n  "))
         if self.report_bug:
             retval.append("\nThis appears to be a bug. Please help improving autorandr by reporting it upstream."