Revision: 53
Author: jimsaku
Date: Wed May 2 09:19:21 2012
Log: tidying up
http://code.google.com/p/flickrpy/source/detail?r=53
Modified:
/trunk/flickr.py
=======================================
--- /trunk/flickr.py Thu Feb 3 13:01:53 2011
+++ /trunk/flickr.py Wed May 2 09:19:21 2012
@@ -1159,13 +1159,13 @@
# authentication token, not just True/False.
if auth or AUTH:
token = userToken()
- authentication = True;
+ authentication = True
elif auth != False:
- token = auth;
- authentication = True;
+ token = auth
+ authentication = True
elif AUTH != False:
- token = AUTH;
- authentication = True;
+ token = AUTH
+ authentication = True
# If we're not authenticating, no suffix is required.
if not authentication:
@@ -1174,7 +1174,7 @@
full_params = params
full_params['method'] = method
- return '&auth_token=%s&api_sig=%s' % (token, _get_api_sig(full_params)
)
+ return '&auth_token=%s&api_sig=%s' % (token, _get_api_sig(full_params))
def _parse_photo(photo):
"""Create a Photo object from photo data."""