diff options
author | Ben Brown <ben.brown@codethink.co.uk> | 2018-02-23 17:04:01 +0000 |
---|---|---|
committer | Ben Brown <ben.brown@codethink.co.uk> | 2018-02-23 17:04:01 +0000 |
commit | 87d1b278bdfec4b84d320fdda8a661428202f796 (patch) | |
tree | 51c5ae22b981f268c4ab2b6a15110b818d6a5daa | |
parent | 688e7ae8f0c9283f594f9c9ea9497508914b2e79 (diff) | |
download | ybd-87d1b278bdfec4b84d320fdda8a661428202f796.tar.gz |
Explicitly check that track is True
-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 df5d99a..9226cf5 100644 --- a/ybd/repos.py +++ b/ybd/repos.py @@ -100,7 +100,7 @@ def get_last_tag(gitdir): def tracking_branch(dn): track = app.config.get('track-branches', []) - return (isinstance(track, list) and dn['path'] in track) or track + return (isinstance(track, list) and dn['path'] in track) or track is True def ensure_ref_contains_sha(dn, gitdir, ref, sha): |