diff options
author | Jason Anderson <jander10@jaguarlandrover.com> | 2016-09-08 16:57:36 -0700 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2016-09-09 16:11:11 +0100 |
commit | 86f8e0ba7f5ad84d63084bd75048cd4ce5c64bd6 (patch) | |
tree | 91a058fa171bf9a6d1f952fba1fe9211c654c0b9 | |
parent | 766b244b87e86882d06ef88f55479773095960a7 (diff) | |
download | ybd-86f8e0ba7f5ad84d63084bd75048cd4ce5c64bd6.tar.gz |
Force ref to be a string
-rw-r--r-- | ybd/repos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ybd/repos.py b/ybd/repos.py index 0e6dc4c..ee39fac 100644 --- a/ybd/repos.py +++ b/ybd/repos.py @@ -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://', '') |