X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/77e2cea63a828cf11972a44610530b8dd3d8c1bf..f6f32b1eb24d0f79293edff7832d6e3a4e5de95f:/lib/vstorage.py?ds=inline 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()