equal
deleted
inserted
replaced
34 if mid is None and maillocation is None: |
34 if mid is None and maillocation is None: |
35 raise MLE(('Either mid or maillocation must be specified.', |
35 raise MLE(('Either mid or maillocation must be specified.', |
36 ERR.MAILLOCATION_INIT)) |
36 ERR.MAILLOCATION_INIT)) |
37 elif mid is not None: |
37 elif mid is not None: |
38 try: |
38 try: |
39 self.__id = long(tid) |
39 self.__id = long(mid) |
40 except ValueError: |
40 except ValueError: |
41 raise MLE(('mid must be an int/long.', ERR.MAILLOCATION_INIT)) |
41 raise MLE(('mid must be an int/long.', ERR.MAILLOCATION_INIT)) |
42 self._loadByID() |
42 self._loadByID() |
43 else: |
43 else: |
44 self.__maillocation = maillocation |
44 self.__maillocation = maillocation |