various fixes
This commit is contained in:
parent
9c923da16a
commit
163fe6913e
3 changed files with 2 additions and 3 deletions
|
|
@ -238,7 +238,7 @@ class ContactThreadPage(PageBase):
|
|||
self.browser['message'] = content
|
||||
|
||||
self.browser.submit() # submit current form
|
||||
except FormNotFoundError:
|
||||
except FormNotFoundError, e:
|
||||
error = 'Unknown error (%s)' % e
|
||||
p_list = self.document.getElementsByTagName('p')
|
||||
for p in p_list:
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class EditAnnouncePage(PageBase):
|
|||
self.browser['pseudo'] = nickname
|
||||
self.browser.submit()
|
||||
|
||||
def set_announce(self, title=None, description=None, lookingfor=None):
|
||||
def set_announce(self, **kwargs):
|
||||
self.browser.select_form(name="form")
|
||||
self.browser.set_field(kwargs, 'title')
|
||||
self.browser.set_field(kwargs, 'description', field='about1')
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
"""
|
||||
|
||||
import ClientForm
|
||||
from weboob.backends.aum.pages.profileslist_base import ProfilesListBase
|
||||
|
||||
class SearchPage(ProfilesListBase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue