mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-21 16:19:21 +00:00
4becf6f9e5
forget the past.
18 lines
242 B
Python
18 lines
242 B
Python
"""check empty except statement
|
|
"""
|
|
|
|
__revision__ = 0
|
|
|
|
if __revision__:
|
|
try:
|
|
print __revision__
|
|
except:
|
|
print 'error'
|
|
|
|
try:
|
|
__revision__ += 1
|
|
except TypeError:
|
|
print 'error'
|
|
except Exception:
|
|
print 'error'
|