[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] remove unneeded daklib.database import



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 dak/update_db.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dak/update_db.py b/dak/update_db.py
index 5fe6918..e0a4b9b 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")]
-- 
1.5.6.5



Reply to: