X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=natalie.py;h=8fc1c0d9149885348c2ec3c4e1cb012f4b1db6e3;hb=c279afcedf5878810de6280d3cb45c62e04c416d;hp=a0e5887a9049b7fb47463b1fd3a40f8c988c3051;hpb=2f5e692bfbbb6f8146f50d944f7fcc169a95a0a3;p=dak.git diff --git a/natalie.py b/natalie.py index a0e5887a..8fc1c0d9 100755 --- a/natalie.py +++ b/natalie.py @@ -2,7 +2,7 @@ # Manipulate override files # Copyright (C) 2000, 2001 James Troup -# $Id: natalie.py,v 1.13 2001-11-18 19:57:58 rmurray Exp $ +# $Id: natalie.py,v 1.15 2002-02-12 22:14:38 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 @@ -20,7 +20,7 @@ ################################################################################ -import errno, os, pg, pwd, string, sys, time; +import pg, string, sys, time; import utils, db_access, logging; import apt_pkg; @@ -215,7 +215,7 @@ def main (): # Default arguments for i in ["help", "list", "set" ]: - if not Cnf.has_key("Natalie::Options::%s" (i)): + if not Cnf.has_key("Natalie::Options::%s" % (i)): Cnf["Natalie::Options::%s" % (i)] = ""; if not Cnf.has_key("Natalie::Options::Component"): Cnf["Natalie::Options::Component"] = "main";