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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user