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
aknecht2
Image Harvest
Commits
c4c0484c
Commit
c4c0484c
authored
May 03, 2016
by
aknecht2
Browse files
Fixed type.
parent
b7042bc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/ih-write-sql
View file @
c4c0484c
...
...
@@ -26,7 +26,7 @@ with open("combine.sql", "w") as wh:
for
f
in
files
:
# Matches all db files
if
f
[
-
2
:]
==
"db"
:
if
not
args
.
prefix
or
f
[
-
len
(
args
.
prefix
):]
==
prefix
:
if
not
args
.
prefix
or
f
[
-
len
(
args
.
prefix
):]
==
args
.
prefix
:
first_line
=
[
"attach
\"
%s
\"
as to_merge;"
%
(
f
,)]
write_lines
=
first_line
+
std_lines
for
line
in
write_lines
:
...
...
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