Skip to content

Commit

Permalink
Consolidate PY2 var name
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Dec 20, 2019
1 parent edeb59e commit fe2e6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/helpers.py
Expand Up @@ -277,7 +277,7 @@ def _get_auto_flask_context():
if _internal_test_request_context:
return _internal_test_request_context

if six.Py2:
if six.PY2:

from ckan.lib.cli import _cli_test_request_context

Expand Down

0 comments on commit fe2e6ea

Please sign in to comment.