statichttprepo: use in-place difference for shorter line
authorMartin Geisler <mg@aragost.com>
Fri, 03 Jun 2011 20:08:26 +0200
changeset 14519 28682c7e7479
parent 14518 a67e866f46f9
child 14520 9d8d2fecb72e
statichttprepo: use in-place difference for shorter line
mercurial/statichttprepo.py
--- a/mercurial/statichttprepo.py	Thu Jun 02 00:33:33 2011 +0200
+++ b/mercurial/statichttprepo.py	Fri Jun 03 20:08:26 2011 +0200
@@ -124,7 +124,7 @@
         self._branchcachetip = None
         self.encodepats = None
         self.decodepats = None
-        self.capabilities = self.capabilities.difference(["pushkey"])
+        self.capabilities.difference_update(["pushkey"])
 
     def url(self):
         return self._url