From f04c4396eb3cb75cf9f3a9e25ece51d2cc9f50c2 Mon Sep 17 00:00:00 2001 From: mcarton Date: Sat, 16 May 2015 18:57:42 +0200 Subject: [PATCH] Fix Python 2.7 support --- thefuck/rules/whois.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thefuck/rules/whois.py b/thefuck/rules/whois.py index f019758e..f53cdde8 100644 --- a/thefuck/rules/whois.py +++ b/thefuck/rules/whois.py @@ -1,4 +1,5 @@ -from urllib.parse import urlparse +# -*- encoding: utf-8 -*- +from six.moves.urllib.parse import urlparse def match(command, settings):