Fix a pyflakes warning.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>