hgext/largefiles/wirestore.py
changeset 16686 67964cda8701
parent 15252 6e809bb4f969
child 17127 9e1616307c4c
--- a/hgext/largefiles/wirestore.py	Sat May 12 16:00:53 2012 +0200
+++ b/hgext/largefiles/wirestore.py	Sat May 12 16:00:57 2012 +0200
@@ -14,7 +14,7 @@
         if not cap:
             raise lfutil.storeprotonotcapable([])
         storetypes = cap.split(',')
-        if not 'serve' in storetypes:
+        if 'serve' not in storetypes:
             raise lfutil.storeprotonotcapable(storetypes)
         self.remote = remote
         super(wirestore, self).__init__(ui, repo, remote.url())