[Treepkg-commits] r61 - trunk/treepkg

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 27 19:55:09 CEST 2008


Author: bh
Date: 2008-05-27 19:55:08 +0200 (Tue, 27 May 2008)
New Revision: 61

Modified:
   trunk/treepkg/packager.py
Log:
Add a log/ subdir for each revision.  The filename is available as the
log_dir attribute of RevisionPackager and SourcePackager instances


Modified: trunk/treepkg/packager.py
===================================================================
--- trunk/treepkg/packager.py	2008-05-27 13:12:12 UTC (rev 60)
+++ trunk/treepkg/packager.py	2008-05-27 17:55:08 UTC (rev 61)
@@ -43,6 +43,7 @@
     track = _fromparent("track")
     revision = _fromparent("revision")
     status = _fromparent("status")
+    log_dir = _fromparent("log_dir")
     work_dir = _fromparent("work_dir")
     src_dir = _fromparent("src_dir")
 
@@ -189,6 +190,7 @@
 
     track = _fromparent("track")
     status = _fromparent("status")
+    log_dir = _fromparent("log_dir")
     binary_dir = _fromparent("binary_dir")
 
     def __init__(self, parent, dsc_file, logfile):
@@ -216,6 +218,7 @@
         self.status = status.RevisionStatus(os.path.join(self.base_dir,
                                                          "status"))
 
+    log_dir = _filenameproperty("log")
     work_dir = _filenameproperty("work")
     binary_dir = _filenameproperty("binary")
     src_dir = _filenameproperty("src")



More information about the Treepkg-commits mailing list