3 # Poolify (move packages from "legacy" type locations to pool locations)
4 # Copyright (C) 2000 James Troup <james@nocrew.org>
5 # $Id: catherine,v 1.2 2001-01-31 03:36:36 troup Exp $
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 # "Welcome to where time stands still,
22 # No one leaves and no one will."
23 # - Sanitarium - Metallica / Master of the puppets
25 ################################################################################
31 ################################################################################
36 ################################################################################
43 Cnf = apt_pkg.newConfiguration();
44 apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file());
46 Arguments = [('D',"debug","Heidi::Options::Debug", "IntVal"),
47 ('h',"help","Heidi::Options::Help"),
48 ('V',"version","Heidi::Options::Version")];
50 amount = apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
52 projectB = pg.connect('projectb', 'localhost');
53 db_access.init(Cnf, projectB);
58 #######################################################################################
60 if __name__ == '__main__':