Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
rqlcontroller
Commits
a2aa37cd0c7e
Commit
eb65aff9
authored
Jul 30, 2021
by
Fabien Amarger
Browse files
chore(deps): Remove "six" dependency since it is only python3 compatible
parent
30afcf863a5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
cubicweb_rqlcontroller/__pkginfo__.py
View file @
a2aa37cd
...
...
@@ -15,7 +15,6 @@ web = "http://www.cubicweb.org/project/%s" % distname
__depends__
=
{
"cubicweb"
:
">= 3.32.2"
,
"six"
:
None
,
}
__recommends__
=
{
"cubicweb-signedrequest"
:
None
}
...
...
cubicweb_rqlcontroller/views.py
View file @
a2aa37cd
...
...
@@ -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
,
str
ing_types
):
if
not
isinstance
(
v
,
str
):
continue
match
=
ARGRE
.
match
(
v
)
if
match
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment