diff mercurial/ui.py @ 13031:3da456d0c885

code style: prefer 'is' and 'is not' tests with singletons
author Martin Geisler <mg@aragost.com>
date Mon, 22 Nov 2010 18:15:58 +0100
parents ad2506f097d3
children 1b591f9b7fd2
line wrap: on
line diff
--- a/mercurial/ui.py	Mon Nov 22 17:57:11 2010 +0100
+++ b/mercurial/ui.py	Mon Nov 22 18:15:58 2010 +0100
@@ -589,7 +589,7 @@
         termination.
         '''
 
-        if pos == None or not self.debugflag:
+        if pos is None or not self.debugflag:
             return
 
         if unit: