From c41cc2965a52a7371255197c5acfbd879e9b755c Mon Sep 17 00:00:00 2001 From: James Troup Date: Fri, 22 Nov 2002 04:06:32 +0000 Subject: [PATCH] use print_exc() --- jenna | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jenna b/jenna index 69ca6e07..24cc0d9d 100755 --- 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 -# $Id: jenna,v 1.21 2002-10-16 02:47:32 troup Exp $ +# $Id: jenna,v 1.22 2002-11-22 04:06:32 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,7 +417,10 @@ 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"); - do_da_do_da(); + try: + do_da_do_da(); + except: + utils.print_exc(); Logger.close(); ######################################################################################### -- GitLab