[Checkins] SVN: hurry.custom/trunk/ Skip hidden directories.
Martijn Faassen
faassen at startifact.com
Mon Jun 15 09:21:39 EDT 2009
Log message for revision 100994:
Skip hidden directories.
Changed:
U hurry.custom/trunk/CHANGES.txt
U hurry.custom/trunk/src/hurry/custom/core.py
-=-
Modified: hurry.custom/trunk/CHANGES.txt
===================================================================
--- hurry.custom/trunk/CHANGES.txt 2009-06-15 13:14:59 UTC (rev 100993)
+++ hurry.custom/trunk/CHANGES.txt 2009-06-15 13:21:39 UTC (rev 100994)
@@ -4,7 +4,8 @@
0.7 (unreleased)
~~~~~~~~~~~~~~~~
-- Nothing changed yet.
+* ``structure`` functionality now skips directories and files start that
+ with a period.
0.6 (2009-06-10)
Modified: hurry.custom/trunk/src/hurry/custom/core.py
===================================================================
--- hurry.custom/trunk/src/hurry/custom/core.py 2009-06-15 13:14:59 UTC (rev 100993)
+++ hurry.custom/trunk/src/hurry/custom/core.py 2009-06-15 13:21:39 UTC (rev 100994)
@@ -217,6 +217,8 @@
entries = os.listdir(path)
result = []
for entry in entries:
+ if entry.startswith('.'):
+ continue
entry_path = os.path.join(path, entry)
if os.path.isdir(entry_path):
info = {
More information about the Checkins
mailing list