comparison enterprise/kdei18n.py @ 53:74cd21b6400b

rename some variables from pkg_track to track
author Bernhard Herzog <bh@intevation.de>
date Tue, 03 Apr 2007 20:37:07 +0200
parents 78cf5f6778ec
children 6b5f7f7575f6
comparison
equal deleted inserted replaced
52:78cf5f6778ec 53:74cd21b6400b
47 kdepimversion = "3.5.5" 47 kdepimversion = "3.5.5"
48 version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s" 48 version_template = "%(kdepimversion)s.enterprise.0.%(enterprise_version)s"
49 return version_template % locals() 49 return version_template % locals()
50 50
51 def unpack_orig_tarball(self): 51 def unpack_orig_tarball(self):
52 orig_tarball = self.pkg_track.orig_tarball 52 orig_tarball = self.track.orig_tarball
53 run.call(["tar", "xjf", orig_tarball, "-C", self.work_dir]) 53 run.call(["tar", "xjf", orig_tarball, "-C", self.work_dir])
54 tarbasename = os.path.basename(orig_tarball) 54 tarbasename = os.path.basename(orig_tarball)
55 splitext = os.path.splitext 55 splitext = os.path.splitext
56 return os.path.join(self.work_dir, 56 return os.path.join(self.work_dir,
57 splitext(splitext(tarbasename)[0])[0]) 57 splitext(splitext(tarbasename)[0])[0])
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)