Mercurial > treepkg
diff enterprise/kdei18n.py @ 52:78cf5f6778ec
Rename 'packagel ine' -> 'package track'
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 03 Apr 2007 20:33:33 +0200 |
parents | f7f89548a2a6 |
children | 74cd21b6400b |
line wrap: on
line diff
--- a/enterprise/kdei18n.py Tue Apr 03 11:24:48 2007 +0200 +++ b/enterprise/kdei18n.py Tue Apr 03 20:33:33 2007 +0200 @@ -49,7 +49,7 @@ return version_template % locals() def unpack_orig_tarball(self): - orig_tarball = self.pkg_line.orig_tarball + orig_tarball = self.pkg_track.orig_tarball run.call(["tar", "xjf", orig_tarball, "-C", self.work_dir]) tarbasename = os.path.basename(orig_tarball) splitext = os.path.splitext @@ -122,7 +122,7 @@ source_packager_cls = SourcePackager -class PackageLine(treepkg.packager.PackageLine): +class PackageTrack(treepkg.packager.PackageTrack): revision_packager_cls = RevisionPackager @@ -132,5 +132,5 @@ def __init__(self, *args, **kw): self.orig_tarball = kw.pop("orig_tarball") - super(PackageLine, self).__init__(*args, **kw) + super(PackageTrack, self).__init__(*args, **kw)