################################################################################
-import os, pg, sys, time
+import os, pg, sys, time, errno
import apt_pkg
import daklib.database
import daklib.utils
def edit_transitions():
trans_file = Cnf["Dinstall::Reject::ReleaseTransitions"]
- tempfile = "./%s.transition.tmp" % (os.getpid() )
-
lockfile="/tmp/transitions.lock"
lock_file(lockfile)
+ tempfile = "./%s.transition.tmp" % (os.getpid() )
+
daklib.utils.copy(trans_file, tempfile)
editor = os.environ.get("EDITOR", "vi")