[churn] Trivial cleanup
authorJosef "Jeff" Sipek <jeffpc@josefsipek.net>
Tue, 15 Aug 2006 06:15:06 -0400
changeset 3043 fe0e3508ec6e
parent 3042 2d35d7c6f251
child 3044 a10adb6a9c9c
child 3045 c0be8990e819
[churn] Trivial cleanup
hgext/churn.py
--- a/hgext/churn.py	Tue Aug 15 05:48:49 2006 -0400
+++ b/hgext/churn.py	Tue Aug 15 06:15:06 2006 -0400
@@ -25,7 +25,7 @@
         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