Skip to content

Commit

Permalink
Force ref to be a string
Browse files Browse the repository at this point in the history
  • Loading branch information
JanderJLR authored and devcurmudgeon committed Sep 9, 2016
1 parent 766b244 commit 86f8e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ybd/repos.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def get_last_tag(gitdir):


def get_tree(dn):
ref = dn['ref']
ref = str(dn['ref'])
gitdir = os.path.join(app.config['gits'], get_repo_name(dn['repo']))
if dn['repo'].startswith('file://') or dn['repo'].startswith('/'):
gitdir = dn['repo'].replace('file://', '')
Expand Down

0 comments on commit 86f8e0b

Please sign in to comment.