From 37de871ace4de601a04ba18e403db8d2a7c1d14e Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Mon, 25 May 2009 19:16:13 +0100 Subject: [PATCH] remove unneeded daklib.database import Signed-off-by: Mark Hymers --- dak/update_db.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dak/update_db.py b/dak/update_db.py index 5fe6918a..e0a4b9bb 100755 --- a/dak/update_db.py +++ b/dak/update_db.py @@ -37,7 +37,7 @@ import os import apt_pkg import time import errno -from daklib import database + from daklib import utils from daklib.dak_exceptions import DBUpdateError @@ -86,8 +86,6 @@ Updates dak's database schema to the lastest version. You should disable crontab ################################################################################ def get_db_rev(self): - global projectB - # We keep database revision info the config table # Try and access it @@ -159,7 +157,7 @@ Updates dak's database schema to the lastest version. You should disable crontab ################################################################################ def init (self): - global Cnf, projectB + global Cnf Cnf = utils.get_conf() arguments = [('h', "help", "Update-DB::Options::Help")] -- 2.39.5