From dad90b63fda0f3e0dec28f43a52b513e4a8d5e6b Mon Sep 17 00:00:00 2001 From: avnish Date: Wed, 11 Jan 2017 15:21:58 +0530 Subject: [PATCH] Removed unnecessary utf-8 encoding Change-Id: I967f933abd6c49f4262d39c2f406405a9ef18b16 --- doc/ext/term.py | 1 - doc/source/conf.py | 1 - releasenotes/source/conf.py | 2 -- watcher/__init__.py | 2 -- watcher/api/controllers/v1/types.py | 2 -- watcher/tests/api/v1/test_types.py | 2 -- .../tests/applier/action_plan/test_default_action_handler.py | 1 - .../applier/actions/loading/test_default_actions_loader.py | 1 - watcher/tests/applier/actions/test_change_nova_service_state.py | 1 - watcher/tests/applier/actions/test_migration.py | 1 - watcher/tests/applier/actions/test_sleep.py | 2 -- watcher/tests/applier/test_applier_manager.py | 1 - watcher/tests/fakes.py | 2 -- watcher/version.py | 1 - watcher_tempest_plugin/tests/api/admin/test_scoring_engine.py | 1 - 15 files changed, 21 deletions(-) diff --git a/doc/ext/term.py b/doc/ext/term.py index 8679334ba..6bbc55dc6 100644 --- a/doc/ext/term.py +++ b/doc/ext/term.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2015 b<>com # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/doc/source/conf.py b/doc/source/conf.py index 0cc656726..e31a99440 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 5cd503a87..93b618cda 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # watcher documentation build configuration file, created by # sphinx-quickstart on Fri Jun 3 11:37:52 2016. # diff --git a/watcher/__init__.py b/watcher/__init__.py index a920bfb1f..403d61bd8 100644 --- a/watcher/__init__.py +++ b/watcher/__init__.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/watcher/api/controllers/v1/types.py b/watcher/api/controllers/v1/types.py index eb709484c..46591f4ef 100644 --- a/watcher/api/controllers/v1/types.py +++ b/watcher/api/controllers/v1/types.py @@ -1,5 +1,3 @@ -# coding: utf-8 -# # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcher/tests/api/v1/test_types.py b/watcher/tests/api/v1/test_types.py index 749b71197..2a6a34e15 100644 --- a/watcher/tests/api/v1/test_types.py +++ b/watcher/tests/api/v1/test_types.py @@ -1,5 +1,3 @@ -# coding: utf-8 -# # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcher/tests/applier/action_plan/test_default_action_handler.py b/watcher/tests/applier/action_plan/test_default_action_handler.py index a59e57a19..ae5ce9bed 100644 --- a/watcher/tests/applier/action_plan/test_default_action_handler.py +++ b/watcher/tests/applier/action_plan/test_default_action_handler.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2015 b<>com # # Authors: Jean-Emile DARTOIS diff --git a/watcher/tests/applier/actions/loading/test_default_actions_loader.py b/watcher/tests/applier/actions/loading/test_default_actions_loader.py index 1e56d16cf..5a36391f1 100644 --- a/watcher/tests/applier/actions/loading/test_default_actions_loader.py +++ b/watcher/tests/applier/actions/loading/test_default_actions_loader.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 b<>com # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/watcher/tests/applier/actions/test_change_nova_service_state.py b/watcher/tests/applier/actions/test_change_nova_service_state.py index 6066c6e4a..2495a4b7c 100644 --- a/watcher/tests/applier/actions/test_change_nova_service_state.py +++ b/watcher/tests/applier/actions/test_change_nova_service_state.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 b<>com # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/watcher/tests/applier/actions/test_migration.py b/watcher/tests/applier/actions/test_migration.py index d064c190c..b91ae8633 100644 --- a/watcher/tests/applier/actions/test_migration.py +++ b/watcher/tests/applier/actions/test_migration.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 b<>com # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/watcher/tests/applier/actions/test_sleep.py b/watcher/tests/applier/actions/test_sleep.py index 2a48d125d..d5b75b9e0 100644 --- a/watcher/tests/applier/actions/test_sleep.py +++ b/watcher/tests/applier/actions/test_sleep.py @@ -1,5 +1,3 @@ - -# -*- encoding: utf-8 -*- # Copyright (c) 2016 b<>com # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/watcher/tests/applier/test_applier_manager.py b/watcher/tests/applier/test_applier_manager.py index 9dae195df..ccb79bb96 100644 --- a/watcher/tests/applier/test_applier_manager.py +++ b/watcher/tests/applier/test_applier_manager.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2015 b<>com # # Authors: Jean-Emile DARTOIS diff --git a/watcher/tests/fakes.py b/watcher/tests/fakes.py index b9615a826..d35b10dea 100644 --- a/watcher/tests/fakes.py +++ b/watcher/tests/fakes.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- -# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at diff --git a/watcher/version.py b/watcher/version.py index aaa4db7c3..42c81b0a0 100644 --- a/watcher/version.py +++ b/watcher/version.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright 2011 OpenStack Foundation # All Rights Reserved. # diff --git a/watcher_tempest_plugin/tests/api/admin/test_scoring_engine.py b/watcher_tempest_plugin/tests/api/admin/test_scoring_engine.py index 600a24b5e..30abe9002 100644 --- a/watcher_tempest_plugin/tests/api/admin/test_scoring_engine.py +++ b/watcher_tempest_plugin/tests/api/admin/test_scoring_engine.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 b<>com # # Licensed under the Apache License, Version 2.0 (the "License");