inherit from object

This commit is contained in:
Matthew Bell 2015-06-17 23:08:45 +01:00
parent e4ba0fdb53
commit 371c74498d
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from Debug import Debug
from Crypt import CryptHash
from Config import config
class ContentManager:
class ContentManager(object):
def __init__(self, site):
self.site = site
self.log = self.site.log

View File

@ -2,7 +2,7 @@ import gevent, time, logging, shutil, os
from Peer import Peer
from Debug import Debug
class Worker:
class Worker(object):
def __init__(self, manager, peer):
self.manager = manager
self.peer = peer