Commit 2679e02e authored by Simon Chabot's avatar Simon Chabot
Browse files

[view] fix various flake8 warnings

parent b5004ad2e332
......@@ -35,8 +35,8 @@ from cubicweb.web.views.urlrewrite import rgx_action, SchemaBasedRewriter
from cubicweb import Binary
ARGRE = re.compile('__r(?P<ref>\d+)$')
DATARE = re.compile('__f(?P<ref>.+)$')
ARGRE = re.compile(r'__r(?P<ref>\d+)$')
DATARE = re.compile(r'__f(?P<ref>.+)$')
def rewrite_args(args, output, form):
......@@ -114,7 +114,7 @@ class RqlIOController(Controller):
encoding = 'utf-8'
content = self._cw.form['json'][1]
# here we use .read instead of .gevalue because
# here we use .read instead of .gevalue because
# on some circumstances content is an instance of BufferedRandom
# which has no getvalue method
args = json.loads(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment