Browse Source

Add comment

master
Christoph Haas 3 years ago
parent
commit
13b7be0ec9
  1. 2
      gitea_import_actions.py

2
gitea_import_actions.py

@ -25,7 +25,7 @@ with open("/tmp/commit.log") as f:
for line in f:
line_clean = line.rstrip('\n')
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)
mycursor.execute(sql, val)