peerdb/tripe-newpeers.in (MissingSectionException): Fix constructor.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 11 Jun 2018 12:09:33 +0000 (13:09 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 14 Jun 2018 11:50:38 +0000 (12:50 +0100)
peerdb/tripe-newpeers.in

index 31d1e9f..81e62f7 100644 (file)
@@ -167,7 +167,7 @@ class InheritanceCycleError (ExpectedError):
 
 class MissingSectionException (ExpectedError):
   def __init__(me, sec):
-    me.key = key
+    me.sec = sec
   def __str__(me):
     return "Section `%s' not found" % (me.sec)