You can express this a bit cleaner by passing 1 as the second parameter to `split()`:

```
username, password = base64.decodestring(auth[1]).split(':', 1)
```