hgext/zeroconf/Zeroconf.py
changeset 28420 d03b7800672c
parent 28419 eb9d0e828c30
child 28421 6d72cc613fc4
--- a/hgext/zeroconf/Zeroconf.py	Tue Mar 01 09:57:45 2016 +0000
+++ b/hgext/zeroconf/Zeroconf.py	Tue Mar 01 09:59:58 2016 +0000
@@ -1145,7 +1145,7 @@
                         value = 0
 
                 # Only update non-existent properties
-                if key and result.get(key) == None:
+                if key and result.get(key) is None:
                     result[key] = value
 
             self.properties = result