Skip to content

Commit

Permalink
allow profiles to use extension .yml in addition to .yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
trbs committed Sep 2, 2014
1 parent 1d67804 commit e05432f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prospector/profiles/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ def load_profiles(names, basedir=None):


def _load_content(name, basedir=None):

if name.endswith('.yaml'):
if name.endswith('.yaml') or name.endswith('.yml'):
# assume that this is a full path that we can load
filename = name
else:
Expand Down

0 comments on commit e05432f

Please sign in to comment.