Commit 0fffb84a authored by Jason R. Coombs's avatar Jason R. Coombs

In the deprecation warning, acknowledge that it's only for projects that still...

In the deprecation warning, acknowledge that it's only for projects that still require Python 2 support.
parent b2865258
...@@ -36,9 +36,10 @@ class Mixin2to3(_Mixin2to3): ...@@ -36,9 +36,10 @@ class Mixin2to3(_Mixin2to3):
return return
warnings.warn( warnings.warn(
"2to3 support is deprecated. Please migrate to " "2to3 support is deprecated. If the project still "
"a single-codebase solution or roll your own " "requires Python 2 support, please migrate to "
"conversion process.", "a single-codebase solution or employ an "
"independent conversion process.",
DeprecationWarning) DeprecationWarning)
log.info("Fixing " + " ".join(files)) log.info("Fixing " + " ".join(files))
self.__build_fixer_names() self.__build_fixer_names()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment