mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-09 21:34:05 +01:00
#685: Warn about Python 2 only on Python 2
This commit is contained in:
@@ -52,6 +52,7 @@ def main():
|
||||
elif known_args.command:
|
||||
fix_command(known_args)
|
||||
elif known_args.alias:
|
||||
if six.PY2:
|
||||
warn("The Fuck will drop Python 2 support soon, more details "
|
||||
"https://github.com/nvbn/thefuck/issues/685")
|
||||
|
||||
|
Reference in New Issue
Block a user