[sysadmin-bin] create-auth: get rid of remove_directory, use shutil.rmtree instead
- From: Olav Vitters <ovitters src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] create-auth: get rid of remove_directory, use shutil.rmtree instead
- Date: Sat, 2 Apr 2011 12:45:38 +0000 (UTC)
commit 6692250991368c57b5da52ff4d0b4d6cea75532f
Author: Olav Vitters <olav vitters nl>
Date: Sat Apr 2 14:45:33 2011 +0200
create-auth: get rid of remove_directory, use shutil.rmtree instead
create-auth | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/create-auth b/create-auth
index d6b45cf..f644e74 100755
--- a/create-auth
+++ b/create-auth
@@ -319,6 +319,6 @@ if __name__ == '__main__':
post_user_hash = get_md5sum_hash ()
finally:
- remove_directory (base_directory_name)
+ shutil.rmtree(base_directory_name)
print_comparison (initial_user_hash, post_user_hash)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]