aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'elivepatch_server/resources/AgentInfo.py')
-rw-r--r--elivepatch_server/resources/AgentInfo.py19
1 files changed, 4 insertions, 15 deletions
diff --git a/elivepatch_server/resources/AgentInfo.py b/elivepatch_server/resources/AgentInfo.py
index b8f08a5..00be63f 100644
--- a/elivepatch_server/resources/AgentInfo.py
+++ b/elivepatch_server/resources/AgentInfo.py
@@ -1,19 +1,8 @@
-# (c) 2015, Alice Ferrazzi <alice.ferrazzi@gmail.com>
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
#
-# This file is part of elivepatch
-#
-# elivepatch is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# elivepatch is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with elivepatch. If not, see <http://www.gnu.org/licenses/>.
+# (c) 2017, Alice Ferrazzi <alice.ferrazzi@gmail.com>
+# Distributed under the terms of the GNU General Public License v2 or later
from flask import Flask, jsonify, abort, make_response
from flask_restful import Api, Resource, reqparse, fields, marshal