vmm
author Pascal Volk <user@localhost.localdomain.org>
Thu, 28 Jun 2012 18:33:32 +0000
branchv0.6.x
changeset 568 14abdd04ddf5
parent 366 d6573da35b5f
child 569 54a84a311654
permissions -rwxr-xr-x
Updated copyright notices to include the year 2012.

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Copyright 2007 - 2012, 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))