mercurial/templatefilters.py
changeset 9029 0001e49f1c11
parent 8697 3d53820381cb
child 9136 31177742f54a
--- a/mercurial/templatefilters.py	Sun Jul 05 10:59:54 2009 +0200
+++ b/mercurial/templatefilters.py	Sun Jul 05 11:00:44 2009 +0200
@@ -41,7 +41,7 @@
 
     delta = max(1, int(now - then))
     for t, s in agescales:
-        n = delta / s
+        n = delta // s
         if n >= 2 or s == 1:
             return fmt(t, n)