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 38a9bc6 commit 89e8b0dCopy full SHA for 89e8b0d
pylint_django/transforms/fields.py
@@ -34,7 +34,7 @@ def apply_type_shim(cls, context=None):
34
elif cls.name == 'FloatField':
35
base_nodes = scoped_nodes.builtin_lookup('float')
36
elif cls.name == 'DecimalField':
37
- if sys.versioninfo >= (3, 5):
+ if sys.version_info >= (3, 5):
38
# I dunno, I'm tired and this works :(
39
base_nodes = MANAGER.ast_from_module_name('_decimal').lookup('Decimal')
40
else:
0 commit comments