Fix various bugs and styling issues

This commit is contained in:
Joseph Schorr 2014-11-24 19:40:03 -05:00
parent 7bf96c506f
commit 0e13ef3ff8
6 changed files with 15 additions and 10 deletions

View file

@ -76,7 +76,7 @@ IMPLIED_SCOPES = {
def scopes_from_scope_string(scopes):
if not scopes:
return {}
scopes = ''
return {ALL_SCOPES.get(scope, None) for scope in scopes.split(',')}