# HG changeset patch # User Sylvain Thénault # Date 1489141621 -3600 # Node ID 0d2b889c85d350dbd95d3a2006ce6af661cb2fe7 # Parent f1abf449148e9437fbbd45b020a7280814b9e6df [repo] Fix flake8 errors in server/__init__.py diff -r f1abf449148e -r 0d2b889c85d3 cubicweb/server/__init__.py --- a/cubicweb/server/__init__.py Fri Mar 10 11:25:24 2017 +0100 +++ b/cubicweb/server/__init__.py Fri Mar 10 11:27:01 2017 +0100 @@ -22,8 +22,6 @@ """ from __future__ import print_function - - from contextlib import contextmanager from six import text_type, string_types @@ -62,16 +60,16 @@ # server debugging flags. They may be combined using binary operators. -#:no debug information +#: no debug information DBG_NONE = 0 #: no debug information #: rql execution information -DBG_RQL = 1 +DBG_RQL = 1 #: executed sql -DBG_SQL = 2 +DBG_SQL = 2 #: repository events DBG_REPO = 4 #: multi-sources -DBG_MS = 8 +DBG_MS = 8 #: hooks DBG_HOOKS = 16 #: operations diff -r f1abf449148e -r 0d2b889c85d3 flake8-ok-files.txt --- a/flake8-ok-files.txt Fri Mar 10 11:25:24 2017 +0100 +++ b/flake8-ok-files.txt Fri Mar 10 11:27:01 2017 +0100 @@ -32,6 +32,7 @@ cubicweb/pylintext.py cubicweb/rset.py cubicweb/rtags.py +cubicweb/server/__init__.py cubicweb/server/repository.py cubicweb/server/rqlannotation.py cubicweb/server/schema2sql.py