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
@@ -51,8 +51,7 @@ class UserKey( object ):
assert isinstance( title, ( str, unicode ) ), title
if key is not DefaultValueForOptionalParameters:
assert isinstance( key, ( str, unicode ) ), key
post_parameters = {
}
post_parameters = dict()
if title is not DefaultValueForOptionalParameters:
post_parameters[ "title" ] = title
if key is not DefaultValueForOptionalParameters: