changeset 14519:28682c7e7479

statichttprepo: use in-place difference for shorter line
author Martin Geisler <mg@aragost.com>
date Fri, 03 Jun 2011 20:08:26 +0200
parents a67e866f46f9
children 9d8d2fecb72e
files mercurial/statichttprepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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