summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Reports
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-06-05 07:26:14 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-06-05 07:26:14 -0500
commite2b832878a70478add4859f6f17039be9474b749 (patch)
tree6b99500f0e1ec7e22e4e77fac5d1535fbf3e5963 /src/lib/Bcfg2/Server/Reports
parent3ba28dce51eebe94e37e3555c240d999e0c10e09 (diff)
downloadbcfg2-e2b832878a70478add4859f6f17039be9474b749.tar.gz
bcfg2-e2b832878a70478add4859f6f17039be9474b749.tar.bz2
bcfg2-e2b832878a70478add4859f6f17039be9474b749.zip
Replace UpdaterError with UpdaterRoutineException
Diffstat (limited to 'src/lib/Bcfg2/Server/Reports')
-rw-r--r--src/lib/Bcfg2/Server/Reports/Updater/Routines.py2
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):