debug messages
This commit is contained in:
parent
e7f322b836
commit
471844cda0
3 changed files with 4 additions and 9 deletions
|
|
@ -57,16 +57,10 @@ class Cragr(Browser):
|
|||
assert isinstance(self.password, (str,unicode))
|
||||
|
||||
self.is_logging = True
|
||||
print 'kikoo'
|
||||
if not self.is_on_page(pages.LoginPage):
|
||||
self.home()
|
||||
|
||||
print '1'
|
||||
try:
|
||||
self.page.login(self.username, self.password)
|
||||
except Exception, e:
|
||||
print type(e), e
|
||||
raise
|
||||
self.page.login(self.username, self.password)
|
||||
self.is_logging = False
|
||||
|
||||
if not self.is_logged():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue