Commits

Howard Mao committed 8b457b4 Merge

Merge branch 'master' of bitbucket.org:zhemao/bitbucket-cli

Comments (0)

Files changed (1)

             'https': 'https://bitbucket.org/%s/%s'
         }
     }
-    if scm not in {'git', 'hg'} or protocol not in {'ssh', 'https'}:
+    if scm not in ['git', 'hg'] or protocol not in ['ssh', 'https']:
         return ''
     return templates[scm][protocol] % (username, reponame)