X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/77e2cea63a828cf11972a44610530b8dd3d8c1bf..35ca9353f12d0c6b65da2ac05675791d38793ab1:/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()