fix pep8 issues

Change-Id: I20dec61cc33e17363d0c44ff916fea5681550c32
Reviewed-on: http://review.couchbase.org/23772
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>