Skip to content

Commit b8e83cd

Browse files
committed
fix #53 (now directories starting with '_' are not ignored)
1 parent 9f6ea69 commit b8e83cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

babel/messages/extract.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def extract_from_dir(dirname=None, method_map=DEFAULT_MAPPING,
139139
for root, dirnames, filenames in os.walk(absname):
140140
dirnames[:] = [
141141
subdir for subdir in dirnames
142-
if not (subdir.startswith('.') or subdir.startswith('_'))
142+
if not (subdir.startswith('.') or subdir == '_')
143143
]
144144
dirnames.sort()
145145
filenames.sort()

0 commit comments

Comments
 (0)