Revision 23e0ef8c lib/compat.py

b/lib/compat.py
26 26
import itertools
27 27

  
28 28
try:
29
  # pylint: disable-msg=F0401
29 30
  import functools
30 31
except ImportError:
31 32
  functools = None
32 33

  
33 34
try:
35
  # pylint: disable-msg=F0401
34 36
  import roman
35 37
except ImportError:
36 38
  roman = None
......
42 44
# modules (hmac, for example) which have changed their behavior as well from
43 45
# one version to the other.
44 46
try:
47
  # pylint: disable-msg=F0401
45 48
  # Yes, we're not using the imports in this module.
46 49
  # pylint: disable-msg=W0611
47 50
  from hashlib import md5 as md5_hash
......
72 75
  return False
73 76

  
74 77
try:
75
  all = all # pylint: disable-msg=W0622
78
  # pylint: disable-msg=E0601
79
  # pylint: disable-msg=W0622
80
  all = all
76 81
except NameError:
77 82
  all = _all
78 83

  
79 84
try:
80
  any = any # pylint: disable-msg=W0622
85
  # pylint: disable-msg=E0601
86
  # pylint: disable-msg=W0622
87
  any = any
81 88
except NameError:
82 89
  any = _any
83 90

  

Also available in: Unified diff