From 645249afa9e8b796ae551ac623ad49d08f792031 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Thu, 8 Mar 2018 14:27:40 +0100 Subject: [PATCH] Rev3353, Pass arguments of storage walk, Email notify of build fail --- .travis.yml | 2 ++ plugins/FilePack/FilePackPlugin.py | 4 ++-- src/Config.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 26e70212..066b5531 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,4 +28,6 @@ cache: - $HOME/.cache/pip notifications: email: + recipients: + hello@zeronet.io on_success: change diff --git a/plugins/FilePack/FilePackPlugin.py b/plugins/FilePack/FilePackPlugin.py index b6d0e283..778aa39f 100644 --- a/plugins/FilePack/FilePackPlugin.py +++ b/plugins/FilePack/FilePackPlugin.py @@ -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) diff --git a/src/Config.py b/src/Config.py index 536b61aa..9afdc4ba 100644 --- a/src/Config.py +++ b/src/Config.py @@ -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"