MB-5914: avoid idiom of except X as e:
MB-5914: avoid idiom of except X as e:

Change-Id: Ie21f15ae21bfb87204759049c30a1576a4fc957f
Reviewed-on: http://review.couchbase.org/18532
Reviewed-by: Ronnie Sun <06648be64f8fbc529d817d157ec32d385ea42f22@couchbase.com>
Reviewed-by: Pavel Paulau <dd88eded64e90046a680e3a6c0828ceb8fe8a0e7@gmail.com>
Tested-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>

couchbaselabs/couchbase-cli,couchbase/couchbase-cli,couchbase/couchbase-cli,membase/membase-cli,couchbaselabs/couchbase-cli,couchbaselabs/couchbase-cli,membase/membase-cli,membase/membase-cli