Merge pull request #213 from zeronet-conservancy/recursive-publish

support --recursive sitePublish on command line
This commit is contained in:
caryoscelus 2023-07-22 12:08:04 +00:00 committed by GitHub
commit 5cc1bdf92f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 44 additions and 39 deletions

View file

@ -95,17 +95,6 @@ class ContentDbDict(dict):
back.append((key, val))
return back
def values(self):
back = []
for key, val in dict.iteritems(self):
if not val:
try:
val = self.loadItem(key)
except Exception:
continue
back.append(val)
return back
def get(self, key, default=None):
try:
return self.__getitem__(key)