aboutsummaryrefslogtreecommitdiff
path: root/app/handlers/defconf.py
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2014-03-28 11:32:28 +0100
committerMilo Casagrande <milo@ubuntu.com>2014-03-28 12:31:58 +0100
commit4d2d52256c4eb52162f24601e77e9be13ef69eef (patch)
treef01dd1e86fe1f8e57fb7f4408d2608e97dd43d3d /app/handlers/defconf.py
parentd514971d05c96c7cb38ff94558cf9e61b5758f71 (diff)
PEP8/pylint clean-up.
Diffstat (limited to 'app/handlers/defconf.py')
-rw-r--r--app/handlers/defconf.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/app/handlers/defconf.py b/app/handlers/defconf.py
index f97b327..731bcec 100644
--- a/app/handlers/defconf.py
+++ b/app/handlers/defconf.py
@@ -13,12 +13,17 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""The RequestHandler for /defconfig URLs."""
-from base import BaseHandler
-from models import DEFCONFIG_COLLECTION
+from handlers.base import BaseHandler
+from models.defconfig import DEFCONFIG_COLLECTION
class DefConfHandler(BaseHandler):
+ """Handle the /defconfig URLs."""
+
+ def __init__(self, application, request, **kwargs):
+ super(DefConfHandler, self).__init__(application, request, **kwargs)
@property
def collection(self):