Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Allow specifying directories as config paths #249

Merged
merged 2 commits into from
Aug 25, 2015

Conversation

erikjohnston
Copy link
Member

No description provided.

for entry in os.listdir(config_path)
if entry.endswith(".yaml") and os.path.isfile(
os.path.join(config_path, entry)
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we complain about files or directories that aren't yaml?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@NegativeMjark
Copy link
Contributor

LGTM

erikjohnston added a commit that referenced this pull request Aug 25, 2015
Allow specifying directories as config paths
@erikjohnston erikjohnston merged commit 59891a2 into release-v0.10.0 Aug 25, 2015
@erikjohnston erikjohnston deleted the erikj/allow_config_path_dirs branch September 10, 2015 09:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants