Permalink
Browse files

including .txt in the file search

  • Loading branch information...
1 parent dd1d380 commit c13af7e37956ec309662013ea449b3f1cabe4b80 BuzzTroll committed Apr 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/src/python/nimbusweb/setup/groupauthz.py
@@ -17,7 +17,7 @@ def all_groups(groupauthz_dir):
"""
groups = []
files = [f for f in os.listdir(groupauthz_dir)
- if f.startswith(_GROUP_FILE_PREFIX) and f.endswith(_GROUP_PROPS_EXT)]
+ if f.startswith(_GROUP_FILE_PREFIX) and (f.endswith(_GROUP_PROPS_EXT) or f.endswith(_GROUP_MEMBERS_EXT))]
files.sort()
for name, group_files in groupby(files, lambda f: os.path.splitext(f)[0]):
members_path = None

0 comments on commit c13af7e

Please sign in to comment.