changeset 3043:fe0e3508ec6e

[churn] Trivial cleanup
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
date Tue, 15 Aug 2006 06:15:06 -0400
parents 2d35d7c6f251
children a10adb6a9c9c c0be8990e819
files hgext/churn.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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