[kernel] r13282 - people/waldi/scripts/snapshot
Bastian Blank
waldi at alioth.debian.org
Sat Mar 28 07:50:45 UTC 2009
Author: waldi
Date: Sat Mar 28 07:50:43 2009
New Revision: 13282
Log:
snapshot/package.py: Update allowed list of distributions.
Modified:
people/waldi/scripts/snapshot/package.py
Modified: people/waldi/scripts/snapshot/package.py
==============================================================================
--- people/waldi/scripts/snapshot/package.py (original)
+++ people/waldi/scripts/snapshot/package.py Sat Mar 28 07:50:43 2009
@@ -193,12 +193,19 @@
c = self.changelog
version = c.version
- if c.distribution in ('stable', 'testing', 'unstable', 'experimental'):
+ if c.distribution in (
+ 'oldstable',
+ 'oldstable-security',
+ 'stable',
+ 'stable-security',
+ 'testing',
+ 'unstable',
+ 'experimental'):
delemiter = ''
elif c.distribution in ('UNRELEASED',):
delemiter = '~'
else:
- raise "Unknown distribution"
+ raise RuntimeError("Unknown distribution: %s" % c.distribution)
version = version.__class__(str(version) + "%ssnapshot.%d" % (delemiter, revision))
More information about the Kernel-svn-changes
mailing list