Support api-key pour roundup
authorCyril Robert <Cyril Robert crobert@inverse.ca>
Fri, 26 Mar 2010 15:14:59 +0000 (11:14 -0400)
committerCyril Robert <Cyril Robert crobert@inverse.ca>
Fri, 26 Mar 2010 15:14:59 +0000 (11:14 -0400)
Apps/roundup/auf_roa.py

index 5d415a5..3381795 100644 (file)
@@ -34,8 +34,9 @@ class AufRoaLoginAction(LoginAction):
     def roa_login (self, email, password):
         rc = None
 
-        url = "%s?filter_email=%s&filter_password=%s&format=json" \
-                % (self.auf_roa_url, email, password)
+        api_key = ""
+        url = "%s?filter_email=%s&filter_password=%s&format=json&api-key=%s" \
+                % (self.auf_roa_url, email, password, api_key)
 
         try:
             ud = urllib.urlopen (url)