diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2019-10-14 05:49:40 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2019-10-14 05:49:40 +0100 |
commit | 3ecdf4c60fed322cdeec25a2ef174a778d8e9700 (patch) | |
tree | 078c3dcf21e4317fd07586551744c3c74d122c17 | |
parent | dc9000e9b646ca2db8334d5bfb61eaeae2ba8517 (diff) |
cleanup
-rw-r--r-- | datamaps/main.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/datamaps/main.py b/datamaps/main.py index 1f5b60d..ae9d056 100644 --- a/datamaps/main.py +++ b/datamaps/main.py @@ -18,7 +18,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ import logging -import sys from functools import partial import click @@ -110,9 +109,9 @@ def templates(to_master): click.style("Incorrect headers in datamap. {}.".format(e.args[0]), bold=True, reverse=True, fg="cyan")) except RemoveFileWithNoSheetRequiredByDatamap: logging.info("Import complete.") - except RuntimeError as e: + except RuntimeError: logger.critical("Not completing import process due to runtime error. Please check output for CRITICAL messages to diagnose.") - except NoApplicableSheetsInTemplateFiles as e: + except NoApplicableSheetsInTemplateFiles: logger.critical("Not completing import process.") else: |