From aada6d004a142bc001386296ca2bfdd5eb44402c Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Mon, 2 Dec 2002 14:46:35 +0000 Subject: remove_old_sources(): Utils.rmdirhier() -> shutil.rmtree() --- bin/update | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bin/update b/bin/update index 94a61aca1..b0b425d35 100755 --- a/bin/update +++ b/bin/update @@ -33,13 +33,14 @@ Use this script to help you update to the latest release of Mailman from some previous version. It knows about versions back to 1.0b4 (?). """ -import sys import os +import md5 +import sys import time -import marshal import errno -import md5 import getopt +import shutil +import marshal import paths from Mailman import mm_cfg @@ -381,7 +382,7 @@ def remove_old_sources(module): pyc = src + "c" if os.path.isdir(src): print _('removing directory %(src)s and everything underneath') - Utils.rmdirhier(src) + shutil.rmtree(src) elif os.path.exists(src): print _('removing %(src)s') try: -- cgit v1.3.1