[kernel] r7584 - people/waldi/scripts/snapshot

Bastian Blank waldi at costa.debian.org
Sun Oct 8 16:13:57 UTC 2006


Author: waldi
Date: Sun Oct  8 16:13:57 2006
New Revision: 7584

Modified:
   people/waldi/scripts/snapshot/package.py

Log:
snapshot/package.py: Fix version for released state.


Modified: people/waldi/scripts/snapshot/package.py
==============================================================================
--- people/waldi/scripts/snapshot/package.py	(original)
+++ people/waldi/scripts/snapshot/package.py	Sun Oct  8 16:13:57 2006
@@ -168,13 +168,13 @@
     version_upstream = changelog_entry['Version']['upstream']
     version_debian = changelog_entry['Version']['debian']
     if changelog_entry['Distribution'] in ('stable', 'testing', 'unstable', 'experimental'):
-        version_debian_delemiter = '.'
+        version_debian_delemiter = ''
     elif changelog_entry['Distribution'] in ('UNRELEASED',):
         version_debian_delemiter = '~'
     else:
         raise "Unknown distribution"
 
-    version_debian += "%csnapshot.%d" % (version_debian_delemiter, revision)
+    version_debian += "%ssnapshot.%d" % (version_debian_delemiter, revision)
 
     package_storage = checkout_storage.copy(package_dir, storage)
 



More information about the Kernel-svn-changes mailing list