Rev3353, Pass arguments of storage walk, Email notify of build fail

This commit is contained in:
shortcutme 2018-03-08 14:27:40 +01:00
parent a51d794885
commit 645249afa9
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
3 changed files with 5 additions and 3 deletions

View file

@ -92,7 +92,7 @@ class SiteStoragePlugin(object):
else:
return super(SiteStoragePlugin, self).isFile(inner_path)
def walk(self, inner_path):
def walk(self, inner_path, *args, **kwags):
if ".zip" in inner_path or ".tar.gz" in inner_path:
match = re.match("^(.*\.(?:tar.gz|tar.bz2|zip))(.*)", inner_path)
archive_inner_path, path_within = match.groups()
@ -104,5 +104,5 @@ class SiteStoragePlugin(object):
return namelist
else:
return super(SiteStoragePlugin, self).walk(inner_path)
return super(SiteStoragePlugin, self).walk(inner_path, *args, **kwags)