equal
deleted
inserted
replaced
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 |
17 from Exceptions import VMMTransportException |
19 from Exceptions import VMMTransportException |
18 import constants.ERROR as ERR |
20 import constants.ERROR as ERR |
|
21 |
|
22 gettext.bindtextdomain('vmm', '/usr/local/share/locale') |
|
23 gettext.textdomain('vmm') |
|
24 _ = gettext.gettext |
19 |
25 |
20 class Transport: |
26 class Transport: |
21 """A wrapper class thats provide access to the transport table""" |
27 """A wrapper class thats provide access to the transport table""" |
22 def __init__(self, dbh, tid=None, transport=None): |
28 def __init__(self, dbh, tid=None, transport=None): |
23 """Creates a new Transport instance. |
29 """Creates a new Transport instance. |