We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79a4606 commit 247b3eeCopy full SHA for 247b3ee
1 file changed
cloudkittyclient/utils.py
@@ -13,7 +13,6 @@
13
# under the License.
14
#
15
import inspect
16
-import sys
17
18
import pbr.version
19
@@ -82,11 +81,6 @@ def format_http_errors(ignore):
82
81
"""
83
84
def wrap(cls):
85
- # If you want pretty errors, use python3.
86
- # __qualname__ does not exist in python 2
87
- if sys.version_info.major < 3:
88
- return cls
89
-
90
def predicate(item):
91
# This avoids decorating functions of parent classes
92
return (inspect.isfunction(item)
0 commit comments