Exit if debian and ubuntu version are the same already.

This commit is contained in:
Daniel Hahler 2008-02-08 23:29:53 +01:00
parent cc7c0f544c
commit 25aef8b726

View File

@ -267,6 +267,10 @@ if __name__ == '__main__':
debiancomponent = debian_component(srcpkg)
deb_version = cur_deb_version(srcpkg)
if deb_version == cur_ver:
print 'The versions in Debian and Ubuntu are the same already (%s). Aborting.' % (deb_version,)
sys.exit(1)
# generate bug report
subscribe = 'ubuntu-archive'
status = 'confirmed'