[tor-commits] [gettor/master] Added inheritance from object to class Core. Deleted some extra spaces too.

ilv at torproject.org ilv at torproject.org
Tue Sep 22 23:39:11 UTC 2015


commit 2378e1104ce665ee37af496e3594e90677ef4fa8
Author: ilv <ilv at users.noreply.github.com>
Date:   Tue Jul 1 23:55:33 2014 -0400

    Added inheritance from object to class Core. Deleted some extra spaces too.
---
 src/gettor.py |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/gettor.py b/src/gettor.py
index d5eeda1..e2321c1 100644
--- a/src/gettor.py
+++ b/src/gettor.py
@@ -31,7 +31,6 @@ import ConfigParser
 
 
 class SingleLevelFilter(logging.Filter):
-
     """
         Filter logging levels to create separated logs.
 
@@ -60,8 +59,7 @@ class SingleLevelFilter(logging.Filter):
             return (record.levelno == self.passlevel)
 
 
-class Core:
-
+class Core(object):
     """
         Gets links from providers and delivers them to other modules.
 





More information about the tor-commits mailing list