mirror of
https://fuchsia.googlesource.com/third_party/github.com/pylint-dev/pylint
synced 2024-09-22 00:24:37 +00:00
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'
|