Submitter | timeless@mozdev.org |
---|---|
Date | March 9, 2016, 4:23 a.m. |
Message ID | <4c53a5e481d5c7a7a02e.1457497439@waste.org> |
Download | mbox | patch |
Permalink | /patch/13702/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/hgext/zeroconf/Zeroconf.py b/hgext/zeroconf/Zeroconf.py --- a/hgext/zeroconf/Zeroconf.py +++ b/hgext/zeroconf/Zeroconf.py @@ -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