Commits

Ralf Schlatterbeck  committed f841a58 Draft

Bug-fix in spam-remover script: ignore cases where file-list is set

  • Participants
  • Parent commits 73129d1

Comments (0)

Files changed (1)

File scripts/spam-remover

             newjournal = []
             for j in journal:
                 if j[3] == 'set' and 'files' in j[4]:
+                    if j[4]['files'][0][0] not in ('-', '+') :
+                        newjournal.append(j)
+                        continue
                     changes = dict(j[4]['files'])
                     # only consider file additions by this user
                     if j[2] in users and '+' in changes: