Skip to content

Commit e9ced35

Browse files
committed
Glob setupbase: trailing ** must match something
1 parent 32e22db commit e9ced35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

{{cookiecutter.github_project_name}}/setupbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ def _join_translated(translated_parts, os_sep_class):
602602

603603
if translated_parts[-1] == '.*':
604604
# Final part is **
605-
res += translated_parts[-1]
605+
res += '.+'
606606
# Follow stdlib/git convention of matching all sub files/directories:
607607
res += '({os_sep_class}?.*)?'.format(os_sep_class=os_sep_class)
608608
else:

0 commit comments

Comments
 (0)