Automatic implementation of url_parameters

This commit is contained in:
Vincent Jacques
2012-05-29 19:00:57 +01:00
parent 169574dab6
commit ca6e7ef9ce
11 changed files with 71 additions and 31 deletions
+1 -2
View File
@@ -77,8 +77,7 @@ class Authorization( object ):
assert isinstance( note, ( str, unicode ) ), note
if note_url is not DefaultValueForOptionalParameters:
assert isinstance( note_url, ( str, unicode ) ), note_url
post_parameters = {
}
post_parameters = dict()
if scopes is not DefaultValueForOptionalParameters:
post_parameters[ "scopes" ] = scopes
if add_scopes is not DefaultValueForOptionalParameters: