eric6/WebBrowser/Passwords/LoginForm.py

changeset 7269
0c63ea7f94bd
parent 7229
53054eb5b15a
child 7360
9190402e4505
equal deleted inserted replaced
7268:a28338eaf694 7269:0c63ea7f94bd
27 """ 27 """
28 Public method to test for validity. 28 Public method to test for validity.
29 29
30 @return flag indicating a valid form (boolean) 30 @return flag indicating a valid form (boolean)
31 """ 31 """
32 return not self.url.isEmpty() and \ 32 return (
33 not self.url.isEmpty() and
33 bool(self.postData) 34 bool(self.postData)
35 )

eric ide

mercurial