summaryrefslogtreecommitdiffstats
path: root/modules/sourceball.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sourceball.py')
-rw-r--r--modules/sourceball.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/sourceball.py b/modules/sourceball.py
index 8364eda..4a39e94 100644
--- a/modules/sourceball.py
+++ b/modules/sourceball.py
@@ -19,7 +19,7 @@ from __future__ import with_statement
import tarfile
-from os.path import abspath, split, basename
+from os.path import abspath, split, basename, join
from shutil import copytree
from subprocess import Popen, PIPE
@@ -34,14 +34,14 @@ class SourceBall(Package):
def orig_dir(self, dir):
return dir + '_orig'
- def source_dir(self, *args):
+ def source(self, *args):
if args[0] == 'orig':
return self.orig_dir(self.cfg['source'])
else:
return self.cfg['source']
def add_sourceball(self, sourceball_name, extract_dir=None):
- log.debug('addincg sourceball with code_dir ' + self.code_dir)
+ log.debug('addincg sourceball with dir ' + self.dir)
with pwd(self.dir):
try:
sourceball_name = copy(sourceball_name,