Ignore .props files for collections children
This commit is contained in:
parent
bff01db29b
commit
fd3eacfe01
@ -230,6 +230,7 @@ class Collection(object):
|
|||||||
result.append(cls(path, principal))
|
result.append(cls(path, principal))
|
||||||
try:
|
try:
|
||||||
for filename in next(os.walk(abs_path))[2]:
|
for filename in next(os.walk(abs_path))[2]:
|
||||||
|
if not filename.endswith(".props"):
|
||||||
collection = cls(os.path.join(path, filename))
|
collection = cls(os.path.join(path, filename))
|
||||||
if collection.exists:
|
if collection.exists:
|
||||||
result.append(collection)
|
result.append(collection)
|
||||||
|
Loading…
Reference in New Issue
Block a user