skeleton/__pkginfo__.py.tmpl
changeset 1438 21b8f3961e6f
parent 548 195a0065aaae
child 1916 5c94f776e4f6
--- a/skeleton/__pkginfo__.py.tmpl	Wed Apr 22 16:02:33 2009 +0200
+++ b/skeleton/__pkginfo__.py.tmpl	Wed Apr 22 18:58:47 2009 +0200
@@ -31,7 +31,8 @@
 def listdir(dirpath):
     return [join(dirpath, fname) for fname in _listdir(dirpath)
             if fname[0] != '.' and not fname.endswith('.pyc')
-            and not fname.endswith('~')]
+            and not fname.endswith('~')
+            and not isdir(join(dirpath, fname))]ΒΆ
 
 from glob import glob
 try: