Skip to content

Commit

Permalink
chore: silence undeclared unicode error in Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Cliffzz committed Jul 26, 2018
1 parent cfa7923 commit 5b32d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samcli/local/lambdafn/env_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def _stringify_value(self, value):
# value is a scalar type like int, str which can be stringified
elif sys.version_info.major > 2:
result = str(value)
elif not isinstance(value, unicode):
elif not isinstance(value, unicode): # noqa: F821 pylint: disable=undefined-variable
result = str(value)
else:
result = value
Expand Down

0 comments on commit 5b32d3c

Please sign in to comment.