Add code to check if there is existing data before executing a bootstrap setup

This commit is contained in:
Roberto Rosario
2012-09-27 01:45:52 -04:00
parent b42a43bafd
commit 3b895d7560
4 changed files with 26 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from __future__ import absolute_import
class ExistingData(Exception):
"""
Raised when an attempt to execute a bootstrap setup is made and there is
existing data that would be corrupted or damaged by the loading the
bootstrap's fixture
"""
pass