X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/77e2cea63a828cf11972a44610530b8dd3d8c1bf..fbe38cbbacc776e1533f9adc51f5621d5b8ea77f:/lib/vstorage.py diff --git a/lib/vstorage.py b/lib/vstorage.py index ea8d5229..d67e2c10 100644 --- a/lib/vstorage.py +++ b/lib/vstorage.py @@ -144,7 +144,7 @@ class VersionedStorage(object): return urlunquote(name) def __contains__(self, title): - return title in self.all_pages() + return urlquote(title) in self.repo.dirstate def __iter__(self): return self.all_pages()