VirtualMailManager/Transport.py
changeset 47 191d5a5adc4a
parent 34 6d74e20c5b3b
child 48 0d5f58f8b8f5
equal deleted inserted replaced
46:7ece710c559d 47:191d5a5adc4a
    12 __author__ = 'Pascal Volk <p.volk@veb-it.de>'
    12 __author__ = 'Pascal Volk <p.volk@veb-it.de>'
    13 __version__ = VERSION
    13 __version__ = VERSION
    14 __revision__ = 'rev '+'$Rev$'.split()[1]
    14 __revision__ = 'rev '+'$Rev$'.split()[1]
    15 __date__ = '$Date$'.split()[1]
    15 __date__ = '$Date$'.split()[1]
    16 
    16 
    17 import gettext
       
    18 
       
    19 from Exceptions import VMMTransportException
    17 from Exceptions import VMMTransportException
    20 import constants.ERROR as ERR
    18 import constants.ERROR as ERR
    21 
       
    22 gettext.bindtextdomain('vmm', '/usr/local/share/locale')
       
    23 gettext.textdomain('vmm')
       
    24 _ = gettext.gettext
       
    25 
    19 
    26 class Transport:
    20 class Transport:
    27     """A wrapper class thats provide access to the transport table"""
    21     """A wrapper class thats provide access to the transport table"""
    28     def __init__(self, dbh, tid=None, transport=None):
    22     def __init__(self, dbh, tid=None, transport=None):
    29         """Creates a new Transport instance.
    23         """Creates a new Transport instance.