mirror of
https://git.sprinternet.at/h44z/gitlab_to_gitea.git
synced 2024-11-21 22:33:05 +00:00
Add comment
This commit is contained in:
parent
2d195562ce
commit
13b7be0ec9
@ -25,7 +25,7 @@ with open("/tmp/commit.log") as f:
|
|||||||
for line in f:
|
for line in f:
|
||||||
line_clean = line.rstrip('\n')
|
line_clean = line.rstrip('\n')
|
||||||
line_split = line_clean.split(',')
|
line_split = line_clean.split(',')
|
||||||
val = (USERID, 5, USERID, REPOID, 0, BRANCH, 1, int(line_split[1]))
|
val = (USERID, 5, USERID, REPOID, 0, BRANCH, 1, int(line_split[1])) # 5 means commit
|
||||||
print(val)
|
print(val)
|
||||||
mycursor.execute(sql, val)
|
mycursor.execute(sql, val)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user