X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Ftransitions.py;h=750d146b872b9fa67266e6a07fded87b0e1c1f68;hb=46ca5f337b777e413b80774e2e19669779988944;hp=b7e50651e8d4daf7b8d284f89bf4a9e5c0fe10cf;hpb=16f731a893f0ba036a995c25b8b5f3490394070e;p=dak.git diff --git a/dak/transitions.py b/dak/transitions.py index b7e50651..750d146b 100755 --- a/dak/transitions.py +++ b/dak/transitions.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Display, edit and check the release manager's transition file. +""" Display, edit and check the release manager's transition file. """ # Copyright (C) 2008 Joerg Jaspert # This program is free software; you can redistribute it and/or modify @@ -23,11 +23,12 @@ ################################################################################ -import os, pg, sys, time, errno, fcntl, tempfile, pwd, re +import os, pg, sys, time, errno, fcntl, tempfile, pwd import apt_pkg from daklib import database from daklib import utils from daklib.dak_exceptions import TransitionsError +from daklib.regexes import re_broken_package import yaml # Globals @@ -35,8 +36,6 @@ Cnf = None Options = None projectB = None -re_broken_package = re.compile(r"[a-zA-Z]\w+\s+\-.*") - ################################################################################ #####################################