Skip to content

Commit

Permalink
Rev3353, Pass arguments of storage walk, Email notify of build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Mar 8, 2018
1 parent a51d794 commit 645249a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ cache:
- $HOME/.cache/pip
notifications:
email:
recipients:
[email protected]
on_success: change
4 changes: 2 additions & 2 deletions plugins/FilePack/FilePackPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def isFile(self, inner_path):
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()
Expand All @@ -104,5 +104,5 @@ def walk(self, inner_path):
return namelist

else:
return super(SiteStoragePlugin, self).walk(inner_path)
return super(SiteStoragePlugin, self).walk(inner_path, *args, **kwags)

2 changes: 1 addition & 1 deletion src/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 645249a

Please sign in to comment.