hgext/churn.py
changeset 3040 fe0e3508ec6e
parent 3039 2d35d7c6f251
child 3041 a10adb6a9c9c
child 3042 c0be8990e819
--- a/hgext/churn.py
+++ b/hgext/churn.py
@@ -25,7 +25,7 @@ def __gather(ui, repo, node1, node2):
         diff = mdiff.unidiff(to, "", tn, "", f).split("\n")
 
         for line in diff:
-            if not len(line):
+            if not line:
                 continue # skip EOF
             if line.startswith(" "):
                 continue # context line