fix minor pep8 issues

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