Browse files

Properly stub __init__

Signed-off-by: Jack Miller <jack@codezen.org>
  • Loading branch information...
1 parent ba5b0a6 commit cef0fe8e453edc1ffdecb7abf36e1d33b8e08e1f @themoken committed Feb 19, 2013
Showing with 6 additions and 3 deletions.
  1. +6 −3 canto_next/canto_backend.py
View
9 canto_next/canto_backend.py
@@ -55,6 +55,12 @@
class CantoBackend(CantoServer):
+ # We want to invoke CantoServer's __init__ manually, and
+ # not on instantiation.
+
+ def __init__(self):
+ pass
+
def init(self):
# Log verbosity
self.verbosity = 0
@@ -801,6 +807,3 @@ def start(self):
self.exit()
self.pid_unlock()
sys.exit(0)
-
- def __init__(self):
- self.start()

0 comments on commit cef0fe8

Please sign in to comment.