[Erp5-report] r30724 - /erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 18 13:53:23 CET 2009
Author: daniele
Date: Wed Nov 18 13:53:22 2009
New Revision: 30724
URL: http://svn.erp5.org?rev=30724&view=rev
Log:
Update syntax doLogin method (cf r26304)
Modified:
erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py
Modified: erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py?rev=30724&r1=30723&r2=30724&view=diff
==============================================================================
--- erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py [utf8] (original)
+++ erp5/trunk/utils/erp5mechanize/ERP5Mechanize.py [utf8] Wed Nov 18 13:53:22 2009
@@ -172,7 +172,7 @@
self.fillField('__ac_name', name)
self.fillField('__ac_password', password)
t = self.timeSubmit()
- if 'Logged in as' not in self.last_page.get_data(): # XXX: Could use information sent back as headers - but would bind us to a specific authentication scheme.
+ if 'Logged In as' not in self.last_page.get_data(): # XXX: Could use information sent back as headers - but would bind us to a specific authentication scheme.
raise LoginError
return t
More information about the Erp5-report
mailing list