# DB access fucntions
# Copyright (C) 2000, 2001, 2002, 2003, 2004 James Troup <james@nocrew.org>
-# $Id: db_access.py,v 1.17 2005-12-05 03:45:12 ajt Exp $
+# $Id: db_access.py,v 1.18 2005-12-05 05:08:10 ajt Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
def get_or_set_queue_id (queue):
global queue_id_cache
+
if queue_id_cache.has_key(queue):
return queue_id_cache[queue]
# Checks Debian packages from Incoming
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 James Troup <james@nocrew.org>
-# $Id: jennifer,v 1.62 2005-12-05 04:54:29 ajt Exp $
+# $Id: jennifer,v 1.63 2005-12-05 05:08:10 ajt Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
################################################################################
# Globals
-jennifer_version = "$Revision: 1.62 $";
+jennifer_version = "$Revision: 1.63 $";
Cnf = None;
Options = None;
################################################################################
def is_unembargo ():
- if os.getcwd() == Cnf["Dir::Queue::Disembargo"]:
+ if pkg.directory == Cnf["Dir::Queue::Disembargo"]:
if changes["architecture"].has_key("source"):
if Options["No-Action"]: return 1