Add comment

This commit is contained in:
Christoph Haas 2019-01-01 11:08:59 +01:00
parent 2d195562ce
commit 13b7be0ec9
1 changed files with 1 additions and 1 deletions

View File

@ -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)