hgext/bookmarks.py
changeset 13031 3da456d0c885
parent 12881 161fe4879bfc
child 13032 e41e2b79883d
--- a/hgext/bookmarks.py	Mon Nov 22 17:57:11 2010 +0100
+++ b/hgext/bookmarks.py	Mon Nov 22 18:15:58 2010 +0100
@@ -137,7 +137,7 @@
         write(repo)
         return
 
-    if mark != None:
+    if mark is not None:
         if "\n" in mark:
             raise util.Abort(_("bookmark name cannot contain newlines"))
         mark = mark.strip()