Bundlebuilder: Don't include whole directory in src tarball

regression introduced by #397
This commit is contained in:
Simon Schampijer 2009-03-24 17:11:56 +01:00
parent 856a83a2da
commit 720401606d

View File

@ -213,7 +213,7 @@ class SourcePackager(Packager):
return list_files(self.config.source_dir,
IGNORE_DIRS, IGNORE_FILES)
return [path.strip() for path in '\n'.split(stdout)]
return [path.strip() for path in stdout.strip('\n').split('\n')]
def package(self):
tar = tarfile.open(self.package_path, 'w:bz2')