Allow username to take no argument to erase value
Once a username has been set, it could not be removed via the UI. Now, if no
argument is passed to username, the value stored is replaced with NULL.
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# Copyright 2007 - 2011, 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))