]> git.decadent.org.uk Git - dak.git/blobdiff - jenna
wrapper for print_exc()
[dak.git] / jenna
diff --git a/jenna b/jenna
index 24cc0d9de485318a9d35e750d864ceffbe25dab0..8475612e113988fd5b3647fa444330fe327db179 100755 (executable)
--- a/jenna
+++ b/jenna
@@ -2,7 +2,7 @@
 
 # Generate file lists used by apt-ftparchive to generate Packages and Sources files
 # Copyright (C) 2000, 2001, 2002  James Troup <james@nocrew.org>
-# $Id: jenna,v 1.22 2002-11-22 04:06:32 troup Exp $
+# $Id: jenna,v 1.23 2002-11-26 15:49:16 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
@@ -417,10 +417,7 @@ def main():
     projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
     db_access.init(Cnf, projectB);
     Logger = logging.Logger(Cnf, "jenna");
-    try:
-        do_da_do_da();
-    except:
-        utils.print_exc();
+    utils.try_with_debug(do_da_do_da);
     Logger.close();
 
 #########################################################################################