diff options
author | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2008-08-31 12:35:59 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2008-08-31 12:35:59 +0530 |
commit | 26ee15df6dd34cf84231417ee944780a872c404f (patch) | |
tree | e03bf1731b6a4173b8e7cd48f45dbc67cea52394 | |
parent | Master integration with Slave (dep resolution) (diff) | |
download | autotua-26ee15df6dd34cf84231417ee944780a872c404f.tar.gz autotua-26ee15df6dd34cf84231417ee944780a872c404f.tar.bz2 autotua-26ee15df6dd34cf84231417ee944780a872c404f.zip |
Use + not __add__ for adding tuples.
-rw-r--r-- | slave/autotua/chroot/__init__.py | 2 |
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 |