mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-15 07:10:52 +01:00
#685: Warn about Python 2 support
This commit is contained in:
parent
bf3c16816d
commit
3472026d5e
@ -52,6 +52,9 @@ def main():
|
|||||||
elif known_args.command:
|
elif known_args.command:
|
||||||
fix_command(known_args)
|
fix_command(known_args)
|
||||||
elif known_args.alias:
|
elif known_args.alias:
|
||||||
|
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 known_args.enable_experimental_instant_mode:
|
||||||
if six.PY2:
|
if six.PY2:
|
||||||
warn("Instant mode not supported with Python 2")
|
warn("Instant mode not supported with Python 2")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user