diff options
author | floppymaster@gmail.com <floppymaster@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 21:41:15 +0000 |
---|---|---|
committer | floppymaster@gmail.com <floppymaster@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 21:41:15 +0000 |
commit | f041cd9623ef06777189ecd538f5bdb30cf33722 (patch) | |
tree | 3f3eca0cba1ffaa3c8c80ce9c63df393eab0544c /tools/export_tarball | |
parent | f8a41f5638c382a361719223d487fd5d93d922d6 (diff) | |
download | chromium_src-f041cd9623ef06777189ecd538f5bdb30cf33722.zip chromium_src-f041cd9623ef06777189ecd538f5bdb30cf33722.tar.gz chromium_src-f041cd9623ef06777189ecd538f5bdb30cf33722.tar.bz2 |
Fix export_v8_tarball.py to work with python2.7
BUG=256396
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/18173009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/export_tarball')
-rwxr-xr-x | tools/export_tarball/export_v8_tarball.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/export_tarball/export_v8_tarball.py b/tools/export_tarball/export_v8_tarball.py index 14f8267..30767b6 100755 --- a/tools/export_tarball/export_v8_tarball.py +++ b/tools/export_tarball/export_v8_tarball.py @@ -63,7 +63,7 @@ def GetV8Directory(): # Workaround lack of the exclude parameter in add method in python-2.4. # TODO(phajdan.jr): remove the workaround when it's not needed on the bot. class MyTarFile(tarfile.TarFile): - def add(self, name, arcname=None, recursive=True, exclude=None): + def add(self, name, arcname=None, recursive=True, exclude=None, filter=None): head, tail = os.path.split(name) if tail in ('.svn', '.git'): return |