mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-21 20:38:54 +00:00
#685: Warn about Python 2 only on Python 2
This commit is contained in:
parent
e5255c3278
commit
7a0db1899c
@ -52,8 +52,9 @@ def main():
|
||||
elif known_args.command:
|
||||
fix_command(known_args)
|
||||
elif known_args.alias:
|
||||
warn("The Fuck will drop Python 2 support soon, more details "
|
||||
"https://github.com/nvbn/thefuck/issues/685")
|
||||
if six.PY2:
|
||||
warn("The Fuck will drop Python 2 support soon, more details "
|
||||
"https://github.com/nvbn/thefuck/issues/685")
|
||||
|
||||
if known_args.enable_experimental_instant_mode:
|
||||
if six.PY2:
|
||||
|
Loading…
x
Reference in New Issue
Block a user