Use new-style classes
This commit is contained in:
parent
77dd6f84e2
commit
c157557501
3 changed files with 3 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ def removeSpecial(s):
|
|||
DOWNLOAD_DIRECTORY=".files"
|
||||
|
||||
|
||||
class Downloadboob:
|
||||
class Downloadboob(object):
|
||||
|
||||
def __init__(self, backend_name, download_directory, links_directory):
|
||||
self.download_directory = download_directory
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ class HTTPSVerifiedConnection(httplib.HTTPSConnection):
|
|||
raise ssl.SSLError(1, "Call back verification failed")
|
||||
|
||||
|
||||
class HellHTTPS:
|
||||
class HellHTTPS(object):
|
||||
"This class is the library used by the weboob's CMB module"
|
||||
|
||||
def __init__(self, host, port=None, proxy=None, proxy_port=None,
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
class TokenExtractor:
|
||||
class TokenExtractor(object):
|
||||
""" Extracts texts token from an HTML document """
|
||||
def __init__(self):
|
||||
self.iterated_elements = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue