X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=alyson;h=0440171deb1c4476e452868ea71625fb3fca28a1;hb=336e084aeebe6c6c6f07b8c9172a7fe8fb93487f;hp=007063f171d3540b81b62035a19d8ff36fef3ab4;hpb=2f5e692bfbbb6f8146f50d944f7fcc169a95a0a3;p=dak.git diff --git a/alyson b/alyson index 007063f1..0440171d 100755 --- a/alyson +++ b/alyson @@ -2,7 +2,7 @@ # Sync the ISC configuartion file and the SQL database # Copyright (C) 2000, 2001 James Troup -# $Id: alyson,v 1.6 2001-11-18 19:57:58 rmurray Exp $ +# $Id: alyson,v 1.7 2002-02-12 22:13:06 troup 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 @@ -42,10 +42,7 @@ def main (): Cnf = utils.get_conf() - Arguments = [('D',"debug","Alyson::Options::Debug", "IntVal"), - ('h',"help","Alyson::Options::Help"), - ('v',"version","Alyson::Options::Version")]; - apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv); + apt_pkg.ParseCommandLine(Cnf,[],sys.argv); projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"])); db_access.init(Cnf, projectB);