aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-08-31 12:35:59 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-08-31 12:35:59 +0530
commit26ee15df6dd34cf84231417ee944780a872c404f (patch)
treee03bf1731b6a4173b8e7cd48f45dbc67cea52394
parentMaster integration with Slave (dep resolution) (diff)
downloadautotua-26ee15df6dd34cf84231417ee944780a872c404f.tar.gz
autotua-26ee15df6dd34cf84231417ee944780a872c404f.tar.bz2
autotua-26ee15df6dd34cf84231417ee944780a872c404f.zip
Use + not __add__ for adding tuples.
-rw-r--r--slave/autotua/chroot/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slave/autotua/chroot/__init__.py b/slave/autotua/chroot/__init__.py
index 07638b2..b462f4b 100644
--- a/slave/autotua/chroot/__init__.py
+++ b/slave/autotua/chroot/__init__.py
@@ -49,7 +49,7 @@ class PristineChroot(object):
if not fix:
return False
print "Fixing..."
- tar_args = self.tar_args.__add__((output.replace('\n', ' '),))
+ tar_args = self.tar_args + output.replace('\n', ' ')
subprocess.check_call('tar xf \"%s\" -C \"%s\" %s' % tar_args, shell=True)
print "Chroot is once again pristine :)"
return True