mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 23:07:42 -02:30
flake8 is hard
This commit is contained in:
@@ -302,6 +302,7 @@ class ImplicitRoleField(models.ForeignKey):
|
|||||||
unicode_spaces = [unichr(c) for c in xrange(sys.maxunicode) if unichr(c).isspace()]
|
unicode_spaces = [unichr(c) for c in xrange(sys.maxunicode) if unichr(c).isspace()]
|
||||||
unicode_spaces_other = unicode_spaces + [u'(', u')', u'=', u'"']
|
unicode_spaces_other = unicode_spaces + [u'(', u')', u'=', u'"']
|
||||||
|
|
||||||
|
|
||||||
def string_to_type(t):
|
def string_to_type(t):
|
||||||
if t == 'true':
|
if t == 'true':
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user