diff options
| author | bwarsaw | 2002-12-02 14:45:03 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-12-02 14:45:03 +0000 |
| commit | d7ce415188020cfcedc79bcbff29b0da1bd37615 (patch) | |
| tree | 8e7da072bfb0fce4cede3282411b9c6fc56a8bdd | |
| parent | 3339c4e2e38a933b6692a3c5b7097b117b50273f (diff) | |
| download | mailman-d7ce415188020cfcedc79bcbff29b0da1bd37615.tar.gz mailman-d7ce415188020cfcedc79bcbff29b0da1bd37615.tar.zst mailman-d7ce415188020cfcedc79bcbff29b0da1bd37615.zip | |
remove_it(): Utils.rmdirhier() -> shutil.rmtree()
| -rwxr-xr-x | bin/rmlist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/rmlist b/bin/rmlist index ebdeefd93..6ff0b5c13 100755 --- a/bin/rmlist +++ b/bin/rmlist @@ -39,6 +39,7 @@ Where: import os import sys import getopt +import shutil import paths from Mailman import mm_cfg @@ -66,7 +67,7 @@ def remove_it(listname, dir, msg): os.unlink(dir) elif os.path.isdir(dir): print _('Removing %(msg)s') - Utils.rmdirhier(dir) + shutil.rmtree(dir) else: print _('%(listname)s %(msg)s not found as %(dir)s') |
