Skip to content

Commit

Permalink
Ignore usage of unicode on Python 3+ in flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
balasankarc committed Sep 7, 2017
1 parent 4dc2ce0 commit 0f8b2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libindic/payyans/core.py
Expand Up @@ -216,7 +216,7 @@ def LoadRules(self):
line_number = line_number + 1
original_text = rules_file.readline()
try:
text = unicode(original_text)
text = unicode(original_text) # noqa: F821
except BaseException:
text = original_text
if text == "":
Expand Down

0 comments on commit 0f8b2dd

Please sign in to comment.