mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Old exception handling format to new one
This commit is contained in:
2
thirdparty/beautifulsoup/beautifulsoup.py
vendored
2
thirdparty/beautifulsoup/beautifulsoup.py
vendored
@@ -1836,7 +1836,7 @@ class UnicodeDammit:
|
||||
u = self._toUnicode(markup, proposed)
|
||||
self.markup = u
|
||||
self.originalEncoding = proposed
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
# print "That didn't work!"
|
||||
# print e
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user