[flickrpy] r53 committed - tidying up

0 views
Skip to first unread message

flic...@googlecode.com

unread,
May 2, 2012, 12:19:39 PM5/2/12
to flickrp...@googlegroups.com
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."""
Reply all
Reply to author
Forward
0 new messages