From 87d1b278bdfec4b84d320fdda8a661428202f796 Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Fri, 23 Feb 2018 17:04:01 +0000 Subject: Explicitly check that track is True --- ybd/repos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.1