1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-19 12:24:29 +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-05-08 11:42:00 +02:00
2015-04-25 03:13:57 +02:00
2015-05-20 02:40:36 +03:00
2015-05-18 09:41:49 +02:00