1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-21 20:38:54 +00:00
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-04-25 03:13:57 +02:00
2015-05-07 13:42:52 +02:00
2015-04-22 06:03:06 +02:00
2015-05-07 13:42:52 +02:00
2015-05-20 16:56:42 +03:00
2015-05-02 04:29:55 +02:00
2015-05-06 13:57:09 +02:00