equal
deleted
inserted
replaced
52 |
52 |
53 def getVMM(): |
53 def getVMM(): |
54 try: |
54 try: |
55 vmm = VirtualMailManager() |
55 vmm = VirtualMailManager() |
56 return vmm |
56 return vmm |
57 except VMME.MANotRootException, e: |
57 except VMME.VMMNotRootException, e: |
58 sys.stderr.write(str(e)) |
58 sys.stderr.write(str(e)) |
59 sys.exit(EXIT.CONF_NOPERM) |
59 sys.exit(EXIT.CONF_NOPERM) |
60 except IOError, e: |
60 except IOError, e: |
61 sys.stderr.write(str(e)) |
61 sys.stderr.write(str(e)) |
62 sys.exit(EXIT.CONF_NOFILE) |
62 sys.exit(EXIT.CONF_NOFILE) |
63 except VMME.MAPermException, e: |
63 except VMME.VMMPermException, e: |
64 sys.stderr.write(str(e)) |
64 sys.stderr.write(str(e)) |
65 sys.exit(EXIT.CONF_WRONGPERM) |
65 sys.exit(EXIT.CONF_WRONGPERM) |
66 |
66 |
67 def configure(): |
67 def configure(): |
68 try: |
68 try: |