Merge pull request #89 from sblondon/master
Explicit object inheritance in not necessary in python3
This commit is contained in:
@@ -6,7 +6,7 @@ import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Imbox(object):
|
||||
class Imbox:
|
||||
|
||||
def __init__(self, hostname, username=None, password=None, ssl=True,
|
||||
port=None, ssl_context=None, policy=None):
|
||||
|
||||
@@ -6,7 +6,7 @@ import ssl as pythonssllib
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class ImapTransport(object):
|
||||
class ImapTransport:
|
||||
|
||||
def __init__(self, hostname, port=None, ssl=True, ssl_context=None):
|
||||
self.hostname = hostname
|
||||
|
||||
@@ -12,7 +12,7 @@ import logging
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Struct(object):
|
||||
class Struct:
|
||||
def __init__(self, **entries):
|
||||
self.__dict__.update(entries)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user