Commit eb65aff9 authored by Fabien Amarger's avatar Fabien Amarger
Browse files

chore(deps): Remove "six" dependency since it is only python3 compatible

parent 30afcf863a5d
......@@ -15,7 +15,6 @@ web = "http://www.cubicweb.org/project/%s" % distname
__depends__ = {
"cubicweb": ">= 3.32.2",
"six": None,
}
__recommends__ = {"cubicweb-signedrequest": None}
......
......@@ -20,8 +20,6 @@
import json
import re
from six import string_types
from cubicweb.predicates import (
ExpectedValuePredicate,
match_form_params,
......@@ -42,7 +40,7 @@ DATARE = re.compile(r"__f(?P<ref>.+)$")
def rewrite_args(args, output, form):
for k, v in args.items():
if not isinstance(v, string_types):
if not isinstance(v, str):
continue
match = ARGRE.match(v)
if match:
......
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