]> git.decadent.org.uk Git - dak.git/blobdiff - natalie.py
* crypto-in-main changes.* utils.py (move, copy): add an optional perms= parameter...
[dak.git] / natalie.py
index a0e5887a9049b7fb47463b1fd3a40f8c988c3051..8fc1c0d9149885348c2ec3c4e1cb012f4b1db6e3 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Manipulate override files
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $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";