Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
pipelet
Pipelet
Commits
640493a7
Commit
640493a7
authored
Feb 04, 2016
by
Maude Le Jeune
Browse files
debug add/remove tag
parent
73efe059
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
scripts/lspipe
scripts/lspipe
+2
-0
No files found.
scripts/lspipe
View file @
640493a7
...
...
@@ -76,6 +76,8 @@ class Pipe():
self
.
conn
=
self
.
cache
.
getdb
(
pipepath
,
dbfile
)
if
tag
:
s
=
self
.
conn
.
execute
(
'select seg_id from segments where tag == ?'
,(
tag
,)).
fetchone
()
if
s
is
None
:
s
=
self
.
conn
.
execute
(
'select seg_id from segments where tag == ?'
,(
";"
+
tag
,)).
fetchone
()
else
:
s
=
self
.
conn
.
execute
(
'select seg_id from segments where curr_dir like ?'
,(
"%"
+
self
.
path
+
"%"
,)).
fetchone
()
lstseg
=
[
s
[
0
]]
...
...
Write
Preview
Markdown
is supported
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