diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2012-06-05 07:26:14 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2012-06-05 07:26:14 -0500 |
commit | e2b832878a70478add4859f6f17039be9474b749 (patch) | |
tree | 6b99500f0e1ec7e22e4e77fac5d1535fbf3e5963 | |
parent | 3ba28dce51eebe94e37e3555c240d999e0c10e09 (diff) | |
download | bcfg2-e2b832878a70478add4859f6f17039be9474b749.tar.gz bcfg2-e2b832878a70478add4859f6f17039be9474b749.tar.bz2 bcfg2-e2b832878a70478add4859f6f17039be9474b749.zip |
Replace UpdaterError with UpdaterRoutineException
-rw-r--r-- | src/lib/Bcfg2/Server/Reports/Updater/Routines.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Reports/Updater/Routines.py b/src/lib/Bcfg2/Server/Reports/Updater/Routines.py index b500fd0a6..edb21c321 100644 --- a/src/lib/Bcfg2/Server/Reports/Updater/Routines.py +++ b/src/lib/Bcfg2/Server/Reports/Updater/Routines.py @@ -57,7 +57,7 @@ def _rebuild_sqlite_table(model): cursor.execute('DROP TABLE %s;' % tmp_tbl_name) except DatabaseError: logger.error("Failed to rebuild sqlite table %s" % table_name, exc_info=1) - raise UpdaterError + raise UpdaterRoutineException class UpdaterRoutineException(Exception): |