From: richard Date: Wed, 18 Sep 2002 00:02:13 +0000 (+0000) Subject: old habits... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7a461b10271f4c8ab8f264661cf28c9c46212640;p=roundup.git old habits... git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1186 57a73879-2fb5-44c3-a270-3262357dd7e2 --- 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