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

@ -28,4 +28,6 @@ cache:
- $HOME/.cache/pip
notifications:
email:
recipients:
hello@zeronet.io
on_success: change

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)

View File

@ -10,7 +10,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.6.2"
self.rev = 3352
self.rev = 3353
self.argv = argv
self.action = None
self.config_file = "zeronet.conf"