|
From: Stas Z. <sta...@us...> - 2005-06-15 11:14:13
|
Update of /cvsroot/gmailagent/GA-libgmail2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25516 Modified Files: libgmail2.py Log Message: Fixed contacts eror. It seems Gmail has changed the contacts page so when one tries to extract the contacts it will throw a exception about a missing dict key called 'a' It seems the key to get is now 'cl' Index: libgmail2.py =================================================================== RCS file: /cvsroot/gmailagent/GA-libgmail2/libgmail2.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** libgmail2.py 2 Jun 2005 13:14:48 -0000 1.3 --- libgmail2.py 15 Jun 2005 11:14:01 -0000 1.4 *************** *** 774,783 **** # This comes back with a dictionary # with entry 'a' ! addresses = myData['a'] extractEntries(addresses) ! ! #print "rawPage", self._retrievePage(myUrl) ! #print "\n\n" ! #print "myData", myData #print "mydata[a]", myData['a'] #print "cl", contactList --- 774,782 ---- # This comes back with a dictionary # with entry 'a' ! addresses = myData['cl'] extractEntries(addresses) ! ## print "rawPage", self._retrievePage(myUrl) ! ## print "\n\n" ! ## print "myData", myData #print "mydata[a]", myData['a'] #print "cl", contactList |