Mercurial > treepkg
comparison recipes/gnupg/gnupg2.py @ 175:e4512f045999
Adapt gnugp2 recipe to the filenameproperty renaming
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Tue, 24 Jun 2008 10:20:12 +0000 |
parents | 13de20d2db9f |
children |
comparison
equal
deleted
inserted
replaced
174:2d7415b84e32 | 175:e4512f045999 |
---|---|
80 class RevisionPackager(treepkg.packager.RevisionPackager): | 80 class RevisionPackager(treepkg.packager.RevisionPackager): |
81 | 81 |
82 source_packager_cls = SourcePackager | 82 source_packager_cls = SourcePackager |
83 binary_packager_cls = BinaryPackager | 83 binary_packager_cls = BinaryPackager |
84 | 84 |
85 pkits_log = treepkg.packager._filenameproperty("pkits_log.html", | 85 pkits_log = treepkg.util.filenameproperty("pkits_log.html", |
86 dir_attr="log_dir") | 86 dir_attr="log_dir") |
87 | 87 |
88 def list_log_files(self): | 88 def list_log_files(self): |
89 files = super(RevisionPackager, self).list_log_files() | 89 files = super(RevisionPackager, self).list_log_files() |
90 if os.path.exists(self.pkits_log): | 90 if os.path.exists(self.pkits_log): |
91 files.append(("PKITS log", self.pkits_log)) | 91 files.append(("PKITS log", self.pkits_log)) |