vmm
author Pascal Volk <neverseen@users.sourceforge.net>
Thu, 05 Aug 2010 05:08:02 +0000
branchv0.6.x
changeset 340 4515afec62e5
parent 232 3c766114d0b9
child 366 d6573da35b5f
permissions -rwxr-xr-x
vmm: Renamed to VirtualMailManager/cli/main.py. Splitted subcommands out to VirtualMailManager/cli/subcommands.py. vmm: New created with minimal code.

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Copyright 2007 - 2010, Pascal Volk
# See COPYING for distribution information.

"""This is the vmm main script."""

import sys

if __name__ == '__main__':
    # replace the script's cwd (/usr/local/sbin) with our module dir
    # (the location of the VirtualMailManager directory)
    sys.path[0] = '/usr/local/lib/vmm'
    from VirtualMailManager.cli.main import run
    sys.exit(run(sys.argv))