diff --git a/puppetboard/app.py b/puppetboard/app.py index 9dfe18a..fc45f1c 100644 --- a/puppetboard/app.py +++ b/puppetboard/app.py @@ -17,7 +17,6 @@ from flask import ( ) from pypuppetdb import connect -from pypuppetdb.errors import EmptyResponseError from pypuppetdb.QueryBuilder import * from puppetboard.forms import (CatalogForm, QueryForm) @@ -119,26 +118,6 @@ def utility_processor(): return dict(now=now) -# -# 204 doesn't have a mapping in werkzeug, we need to define a custom -# class and then set it to the mappings. -# -class NoContent(ex.HTTPException): - code = 204 - description = '
No content