From 893b05d26b58ed8b8e26a1d503d020bc7d617a96 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 26 Apr 2016 11:52:35 +0200 Subject: [PATCH] Removed unused code --- gns3server/schemas/file.py | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 gns3server/schemas/file.py diff --git a/gns3server/schemas/file.py b/gns3server/schemas/file.py deleted file mode 100644 index 38ce7a10e..000000000 --- a/gns3server/schemas/file.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: utf-8 -*- -# -# Copyright (C) 2015 GNS3 Technologies Inc. -# -# This program 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. -# -# This program 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 this program. If not, see . - - -FILE_STREAM_SCHEMA = { - "$schema": "http://json-schema.org/draft-04/schema#", - "description": "Request validation retrieval of a file stream", - "type": "object", - "properties": { - "location": { - "description": "File path", - "type": ["string"], - "minLength": 1 - } - }, - "additionalProperties": False, - "required": ["location"] -}