sabayon r945 - in trunk: . lib
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: sabayon r945 - in trunk: . lib
- Date: Tue, 19 Feb 2008 03:10:44 +0000 (GMT)
Author: federico
Date: Tue Feb 19 03:10:43 2008
New Revision: 945
URL: http://svn.gnome.org/viewvc/sabayon?rev=945&view=rev
Log:
Fix recursive call of should_ignore_dir
2008-02-18 Sayamindu Dasgupta <sayamindu gmail com>
* lib/util.py: Make it work; import fnmatch.
* lib/util.py (should_ignore_dir): Fix the recursive call.
Signed-off-by: Federico Mena Quintero <federico gnu org>
Modified:
trunk/ChangeLog
trunk/lib/util.py
Modified: trunk/lib/util.py
==============================================================================
--- trunk/lib/util.py (original)
+++ trunk/lib/util.py Tue Feb 19 03:10:43 2008
@@ -19,6 +19,7 @@
import os
import os.path
import sys
+import fnmatch
import pwd
import gettext
import locale
@@ -350,7 +351,7 @@
parent = os.path.dirname (dir)
if parent != dir:
- return should_ignore_dir (parent)
+ return should_ignore_dir (base_dir, ignore_dir_list, parent)
else:
return False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]