[Pkg-mozext-commits] [adblock-plus] 180/464: Fixed: Multiple calls to packager.createBuild() result in way too many files in the build

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 9f0a85b6587b9fc091be790e77b36a9063deac94
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Thu Dec 8 10:48:46 2011 +0100

    Fixed: Multiple calls to packager.createBuild() result in way too many files in the build
---
 packager.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/packager.py b/packager.py
index c260417..507c8a4 100644
--- a/packager.py
+++ b/packager.py
@@ -190,7 +190,9 @@ def fixupLocales(baseDir, files, params):
       else:
         files[path] = reference[file]['_origData'].encode('utf-8')
 
-def createChromeJar(baseDir, params, files={}):
+def createChromeJar(baseDir, params, files=None):
+  if not files:
+    files = {}
   for name, path in getChromeSubdirs(baseDir, params['locales']).iteritems():
     if os.path.isdir(path):
       readFile(files, params, path, name)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list