Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
blends.py: escape backslashes in sql query
· af3096a3
Ole Streicher
authored
Apr 13, 2018
af3096a3
blend-gen-control: help output fix
· 76f535f5
Ole Streicher
authored
Apr 13, 2018
76f535f5
Show whitespace changes
Inline
Side-by-side
blends.py
View file @
76f535f5
...
...
@@ -795,8 +795,9 @@ def uddcache(packages, release, components=['main'], **db_args):
version,
architecture,
regexp_split_to_table(regexp_replace(provides,
E
'
\\
s*
\\
([^)]*
\\
)
'
,
''
,
'
g
'
),
E
'
,
\\
s*
'
) AS provides
E
'
\\\\
s*
\\\\
([^)]*
\\\\
)
'
,
''
,
'
g
'
),
E
'
,
\\\\
s*
'
) AS provides
FROM pkg;
'''
...
...
devtools/blend-gen-control
View file @
76f535f5
...
...
@@ -133,4 +133,4 @@ if upgraded_tasks:
else
:
print
(
'
Warning: {} tasks use the old format {}
'
.
format
(
len
(
upgraded_tasks
),
upgraded_tasks
[
0
].
format_version
))
print
(
'
Please consider upgrading the task files with the `-
U
` flag.
'
)
print
(
'
Please consider upgrading the task files with the `-
F
` flag.
'
)