just return empty set

This commit is contained in:
j 2007-08-04 09:04:53 +00:00
parent cc4ca18d7e
commit b077cdfbe7

View file

@ -22,7 +22,9 @@ def httpExpires(sec):
class Root(controllers.RootController):
@expose()
def default(self, md5Hash, action, position = None):
def default(self, md5Hash = None, action = None, position = None):
if not md5Hash:
return dict()
try:
f = ArchiveFile.byMd5sum(md5Hash)
except: