Merge pull request #544 from darko-poljak/ignore-dot-files-under-conf-types
Ignore directory entries that begin with dot('.').
This commit is contained in:
commit
b50e605441
4 changed files with 43 additions and 5 deletions
|
|
@ -104,7 +104,7 @@ class CdistObject(object):
|
|||
@classmethod
|
||||
def list_type_names(cls, object_base_path):
|
||||
"""Return a list of type names"""
|
||||
return os.listdir(object_base_path)
|
||||
return cdist.core.listdir(object_base_path)
|
||||
|
||||
@staticmethod
|
||||
def split_name(object_name):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue