Pablo Santiago Blum de Aguiar
44c06c483e
fix(whois): check if there's at least one argument to whois
...
This avoids thefuck failing when there's no arguments. It fails with:
```
...
File "thefuck/rules/whois.py", line 26, in get_new_command
url = command.script.split()[1]
IndexError: list index out of range
```
Signed-off-by: Pablo Santiago Blum de Aguiar <scorphus@gmail.com>
2015-05-20 13:54:33 -03:00
..
2015-05-16 11:52:50 -03:00
2015-05-16 11:52:50 -03:00
2015-05-16 11:53:01 -03:00
2015-04-25 02:35:26 +02:00
2015-04-29 15:18:48 +09:00
2015-04-25 02:54:39 +02:00
2015-04-25 02:35:26 +02:00
2015-04-25 02:35:26 +02:00
2015-04-20 22:00:37 +02:00
2015-05-08 11:42:00 +02:00
2015-04-25 03:13:57 +02:00
2015-05-16 11:53:01 -03:00
2015-05-16 11:53:01 -03:00
2015-04-25 02:35:26 +02:00
2015-05-20 02:40:36 +03:00
2015-04-25 02:35:26 +02:00
2015-05-16 11:53:01 -03:00
2015-05-15 19:09:14 -03:00
2015-04-22 23:04:22 +02:00
2015-04-18 23:19:34 +02:00
2015-04-25 03:42:36 +02:00
2015-05-08 00:15:57 +05:30
2015-04-25 02:54:39 +02:00
2015-05-20 16:58:05 +03:00
2015-05-15 18:03:33 +02:00
2015-05-18 09:41:49 +02:00
2015-04-25 02:35:26 +02:00
2015-04-25 02:35:26 +02:00
2015-04-25 02:54:39 +02:00
2015-04-25 02:54:39 +02:00
2015-04-25 02:35:26 +02:00
2015-05-01 04:41:33 +02:00
2015-04-29 05:01:30 +02:00
2015-04-25 02:54:39 +02:00
2015-05-20 13:54:33 -03:00