blob: 38a6417e020d4405e2876b0619c17f883f7922fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
"""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'
|