blob: 4f2fa3ea83fa32864c6e614f6ff2fc219176b281 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# pylint: disable=missing-docstring, bare-except, broad-except
__revision__ = 1
try:
__revision__ += 1
except Exception:
__revision__ = 0
except TypeError: # [bad-except-order]
__revision__ = 0
try:
__revision__ += 1
except LookupError:
__revision__ = 0
except IndexError: # [bad-except-order]
__revision__ = 0
try:
__revision__ += 1
except (LookupError, NameError):
__revision__ = 0
except (IndexError, UnboundLocalError): # [bad-except-order, bad-except-order]
__revision__ = 0
try: # [bad-except-order]
__revision__ += 1
except:
pass
except Exception:
pass
try:
__revision__ += 1
except TypeError:
__revision__ = 0
except:
__revision__ = 0
try:
__revision__ += 1
except Exception:
pass
except:
pass
|