1. Benoît Allard
  2. hotfiles

Commits

Benoît Allard  committed 01a28bc

Only print the files that have actually been touched by the considered revisions.

  • Participants
  • Parent commits 405b203
  • Branches default

Comments (0)

Files changed (1)

File hotfiles.py

View file
  • Ignore whitespace
         s = 0
         for t in ts:
             s += 1 / (1 + exp((-12 * t) + 12))
-        d.append((f, s))
+        if s != 0:
+            d.append((f, s))
         ui.progress('score', pos, f, total=len(data))
         pos += 1
     ui.progress('score', None)