changeset 340:a83a78a93fd6

Changed default message templates to the correct types
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 15 Apr 2010 14:52:35 +0000
parents 524ad62ab207
children dc079231a062
files treepkg/packager.py treepkg/readconfig.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/packager.py	Wed Apr 14 13:17:30 2010 +0000
+++ b/treepkg/packager.py	Thu Apr 15 14:52:35 2010 +0000
@@ -349,7 +349,7 @@
     def __init__(self, name, base_dir, root_cmd, pbuilderrc, deb_email,
                  deb_fullname, svn_url="", packager_class="treepkg.packager",
                  version_template="%(revision)s",
-                 pkg_revision_template="treepkg%(pkg_revision)d",
+                 pkg_revision_template="treepkg%(pkg_revision)s",
                  handle_dependencies=False, signing_key_id="", do_build=True,
                  rules_svn_url=None, deb_build_options="", pkg_basename="",
                  changelog_msg_template="Update to r%(revision)s",
--- a/treepkg/readconfig.py	Wed Apr 14 13:17:30 2010 +0000
+++ b/treepkg/readconfig.py	Thu Apr 15 14:52:35 2010 +0000
@@ -75,7 +75,7 @@
     "pkg_revision_template", ("pkg_basename", str, ""),
     ("handle_dependencies", convert_bool),
     ("signing_key_id", str, ""),
-    ("changelog_msg_template", str, "Update to revision %(revision)d"),
+    ("changelog_msg_template", str, "Update to revision %(revision)s"),
     ("git_branch", str,""),
     ("git_url", str,"")
     ]
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)