diff options
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -41,9 +41,7 @@ def create_list(listname, listadmin, passwd=None): # create list p = subprocess.Popen(['sudo', '-n', os.path.join(config.mailman_path, 'bin', 'neueliste.bash'), listname, listadmin, passwd], - stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE) - print >>p.stdin, "" - + stdout=subprocess.PIPE, stderr=subprocess.STDOUT) (progress, junk) = p.communicate() return (p.returncode == 0, progress) except Exception as e: |