1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-28 02:25:27 +03:00

flake8 is hard

This commit is contained in:
Chris Meyers 2017-04-03 16:14:43 -04:00
parent 80e89b1116
commit 443f14ed85

View File

@ -302,6 +302,7 @@ class ImplicitRoleField(models.ForeignKey):
unicode_spaces = [unichr(c) for c in xrange(sys.maxunicode) if unichr(c).isspace()]
unicode_spaces_other = unicode_spaces + [u'(', u')', u'=', u'"']
def string_to_type(t):
if t == 'true':
return True