kadischi/lib functions.py,1.12,1.13
Jasper O'neal Hartline (autopsy)
fedora-extras-commits at redhat.com
Wed Jul 5 12:41:32 UTC 2006
- Previous message (by thread): rpms/qt4/FC-4 assistant.desktop, 1.2, 1.3 designer.desktop, 1.1, 1.2 linguist.desktop, 1.1, 1.2 qt-x11-opensource-src-4.1.2-assistant4.patch, 1.1, 1.2 qt4.spec, 1.9, 1.10 qtconfig.desktop, 1.1, 1.2 qtdemo.desktop, 1.1, 1.2
- Next message (by thread): owners owners.list,1.1214,1.1215
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: autopsy
Update of /cvs/devel/kadischi/lib
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28320/kadischi/lib
Modified Files:
functions.py
Log Message:
Caught this bug already, one too many cleanup() present.
Index: functions.py
===================================================================
RCS file: /cvs/devel/kadischi/lib/functions.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- functions.py 5 Jul 2006 05:34:45 -0000 1.12
+++ functions.py 5 Jul 2006 12:41:29 -0000 1.13
@@ -70,10 +70,7 @@
def clean_directory (dir, remove_when_done=True, keep_child_directories=False):
"""Removes all files in a directory, optionally removing the directory afterwards"""
assert os.path.isdir and not os.path.islink (dir)
- try:
- file_list = os.listdir (dir)
- except:
- pass
+ file_list = os.listdir (dir)
for f in file_list:
path = os.path.join (dir, f)
- Previous message (by thread): rpms/qt4/FC-4 assistant.desktop, 1.2, 1.3 designer.desktop, 1.1, 1.2 linguist.desktop, 1.1, 1.2 qt-x11-opensource-src-4.1.2-assistant4.patch, 1.1, 1.2 qt4.spec, 1.9, 1.10 qtconfig.desktop, 1.1, 1.2 qtdemo.desktop, 1.1, 1.2
- Next message (by thread): owners owners.list,1.1214,1.1215
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list