1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 16:44:19 +00:00

Removed unnecessary print statements

This commit is contained in:
Viral Mehta 2018-03-17 18:20:14 +05:30
parent ff5f717f7a
commit e25e2afe17

View File

@ -168,7 +168,6 @@ def _get_clickable(clickdata, form):
if the latter is given. If not, it returns the first
clickable element found
"""
print("form =", form.__dict__)
clickables = [
el for el in form.xpath(
'descendant::*[(self::input or self::button)'
@ -178,7 +177,6 @@ def _get_clickable(clickdata, form):
'|descendant::button[not(@type)]',
namespaces={"re": "http://exslt.org/regular-expressions"})
]
print("clickables =", clickables)
if not clickables:
return