From 7a461b10271f4c8ab8f264661cf28c9c46212640 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 18 Sep 2002 00:02:13 +0000 Subject: [PATCH] old habits... git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1186 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/instance.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roundup/instance.py b/roundup/instance.py index e98953c..dc1cc02 100644 --- a/roundup/instance.py +++ b/roundup/instance.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: instance.py,v 1.7 2002-09-17 23:59:32 richard Exp $ +# $Id: instance.py,v 1.8 2002-09-18 00:02:13 richard Exp $ __doc__ = ''' Tracker handling (open tracker). @@ -26,7 +26,7 @@ a tracker. Note that trackers used to be called instances. import imp, os -class InstanceError(Exception): +class TrackerError(Exception): pass class Opener: @@ -54,7 +54,7 @@ class Opener: # ensure the tracker has all the required bits for required in 'config open init Client MailGW'.split(): if not hasattr(tracker, required): - raise InstanceError, 'Required tracker attribute "%s" '\ + raise TrackerError, 'Required tracker attribute "%s" '\ 'missing'%required return tracker -- 2.30.2