From e8de2e66e8869100760b175fac84b6ae7c1b78cf Mon Sep 17 00:00:00 2001 From: Michael Bideau Date: Tue, 20 Aug 2019 16:23:42 +0000 Subject: [PATCH] JSON schemas: removed __main__ part --- atreal_openads/json_schemas.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/atreal_openads/json_schemas.py b/atreal_openads/json_schemas.py index ec8a8a5..c85ca3e 100644 --- a/atreal_openads/json_schemas.py +++ b/atreal_openads/json_schemas.py @@ -17,8 +17,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -import json - # TODO add string limits (maxLength) @@ -397,15 +395,3 @@ JSON_SCHEMA_GET_COURRIER_OUT = { }, "required": ["courrier"] } - -if __name__ == '__main__': - fmt = '\n----- %s -----\n%s\n' - print(fmt % ('JSON_SCHEMA_CHECK_STATUS_OUT' , json.dumps(JSON_SCHEMA_CHECK_STATUS_OUT))) - print(fmt % ('JSON_SCHEMA_CREATE_DOSSIER_IN' , json.dumps(JSON_SCHEMA_CREATE_DOSSIER_IN))) - print(fmt % ('JSON_SCHEMA_CREATE_DOSSIER_OUT' , json.dumps(JSON_SCHEMA_CREATE_DOSSIER_OUT))) - print(fmt % ('JSON_SCHEMA_GET_DOSSIER_OUT' , json.dumps(JSON_SCHEMA_GET_DOSSIER_OUT))) - print(fmt % ('JSON_SCHEMA_GET_FWD_FILES_OUT' , json.dumps(JSON_SCHEMA_GET_FWD_FILES_OUT))) - print(fmt % ('JSON_SCHEMA_GET_FWD_FILES_STATUS_OUT', - json.dumps(JSON_SCHEMA_GET_FWD_FILES_STATUS_OUT))) - print(fmt % ('JSON_SCHEMA_GET_COURRIER_OUT' , json.dumps(JSON_SCHEMA_GET_COURRIER_OUT))) -