From 17a144e2f8698049c389fa50df20ed704377ae5c Mon Sep 17 00:00:00 2001 From: DeepaJon <deepak.kumar@nectechnologies.in> Date: Wed, 11 Jan 2017 14:21:29 +0530 Subject: [PATCH] Removes unnecessary utf-8 encoding This patches removes unnecessary utf-8 encoding in the watcherclient/* doc/source/conf.py Change-Id: Ic74c9c57f52f7bf021dfa25d4de069b57e5cb474 --- doc/source/conf.py | 1 - watcherclient/__init__.py | 1 - watcherclient/common/base.py | 1 - watcherclient/common/utils.py | 1 - watcherclient/exceptions.py | 1 - watcherclient/tests/test_import.py | 1 - watcherclient/tests/test_utils.py | 1 - watcherclient/tests/v1/base.py | 1 - watcherclient/tests/v1/test_action.py | 2 -- watcherclient/tests/v1/test_action_plan.py | 2 -- watcherclient/tests/v1/test_action_plan_shell.py | 1 - watcherclient/tests/v1/test_action_shell.py | 1 - watcherclient/tests/v1/test_audit.py | 2 -- watcherclient/tests/v1/test_audit_shell.py | 1 - watcherclient/tests/v1/test_audit_template.py | 2 -- watcherclient/tests/v1/test_audit_template_shell.py | 1 - watcherclient/tests/v1/test_goal.py | 2 -- watcherclient/tests/v1/test_goal_shell.py | 1 - watcherclient/tests/v1/test_scoring_engine.py | 1 - watcherclient/tests/v1/test_scoring_engine_shell.py | 1 - watcherclient/tests/v1/test_service.py | 2 -- watcherclient/tests/v1/test_service_shell.py | 1 - watcherclient/tests/v1/test_strategy.py | 2 -- watcherclient/tests/v1/test_strategy_shell.py | 1 - watcherclient/v1/__init__.py | 1 - watcherclient/v1/action.py | 1 - watcherclient/v1/action_plan.py | 1 - watcherclient/v1/action_plan_shell.py | 1 - watcherclient/v1/action_shell.py | 1 - watcherclient/v1/audit.py | 1 - watcherclient/v1/audit_shell.py | 1 - watcherclient/v1/audit_template.py | 1 - watcherclient/v1/audit_template_shell.py | 1 - watcherclient/v1/goal.py | 1 - watcherclient/v1/goal_shell.py | 1 - watcherclient/v1/resource_fields.py | 1 - watcherclient/v1/scoring_engine.py | 1 - watcherclient/v1/scoring_engine_shell.py | 1 - watcherclient/v1/service.py | 1 - watcherclient/v1/service_shell.py | 1 - watcherclient/v1/strategy.py | 1 - watcherclient/v1/strategy_shell.py | 1 - 42 files changed, 49 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index a4a8ea4..4bf62b5 100644 --- 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/watcherclient/__init__.py b/watcherclient/__init__.py index 1161512..aa107bb 100644 --- a/watcherclient/__init__.py +++ b/watcherclient/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 Hewlett-Packard Development Company, L.P. # All Rights Reserved. diff --git a/watcherclient/common/base.py b/watcherclient/common/base.py index 2d23021..2db7f53 100644 --- a/watcherclient/common/base.py +++ b/watcherclient/common/base.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2012 OpenStack LLC. # All Rights Reserved. diff --git a/watcherclient/common/utils.py b/watcherclient/common/utils.py index ac75554..a11c799 100644 --- a/watcherclient/common/utils.py +++ b/watcherclient/common/utils.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2012 OpenStack LLC. # All Rights Reserved. diff --git a/watcherclient/exceptions.py b/watcherclient/exceptions.py index 8c622da..fbed7c7 100644 --- a/watcherclient/exceptions.py +++ b/watcherclient/exceptions.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 diff --git a/watcherclient/tests/test_import.py b/watcherclient/tests/test_import.py index f017596..27b6fca 100644 --- a/watcherclient/tests/test_import.py +++ b/watcherclient/tests/test_import.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 diff --git a/watcherclient/tests/test_utils.py b/watcherclient/tests/test_utils.py index fe7f55c..b966ab2 100644 --- a/watcherclient/tests/test_utils.py +++ b/watcherclient/tests/test_utils.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 OpenStack LLC. # All Rights Reserved. diff --git a/watcherclient/tests/v1/base.py b/watcherclient/tests/v1/base.py index 8fdb9e2..350a863 100644 --- a/watcherclient/tests/v1/base.py +++ b/watcherclient/tests/v1/base.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/watcherclient/tests/v1/test_action.py b/watcherclient/tests/v1/test_action.py index 7d330b2..cfec21f 100644 --- a/watcherclient/tests/v1/test_action.py +++ b/watcherclient/tests/v1/test_action.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcherclient/tests/v1/test_action_plan.py b/watcherclient/tests/v1/test_action_plan.py index 92f8d3e..cdc0707 100644 --- a/watcherclient/tests/v1/test_action_plan.py +++ b/watcherclient/tests/v1/test_action_plan.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcherclient/tests/v1/test_action_plan_shell.py b/watcherclient/tests/v1/test_action_plan_shell.py index b588131..a0fc6cf 100644 --- a/watcherclient/tests/v1/test_action_plan_shell.py +++ b/watcherclient/tests/v1/test_action_plan_shell.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/watcherclient/tests/v1/test_action_shell.py b/watcherclient/tests/v1/test_action_shell.py index 4d86059..03ec174 100644 --- a/watcherclient/tests/v1/test_action_shell.py +++ b/watcherclient/tests/v1/test_action_shell.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 IBM Corp # diff --git a/watcherclient/tests/v1/test_audit.py b/watcherclient/tests/v1/test_audit.py index 5a1e6bd..e5d26d9 100644 --- a/watcherclient/tests/v1/test_audit.py +++ b/watcherclient/tests/v1/test_audit.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcherclient/tests/v1/test_audit_shell.py b/watcherclient/tests/v1/test_audit_shell.py index 43e24d2..27f6bbb 100644 --- a/watcherclient/tests/v1/test_audit_shell.py +++ b/watcherclient/tests/v1/test_audit_shell.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 IBM Corp # diff --git a/watcherclient/tests/v1/test_audit_template.py b/watcherclient/tests/v1/test_audit_template.py index 6dc871d..4c06715 100644 --- a/watcherclient/tests/v1/test_audit_template.py +++ b/watcherclient/tests/v1/test_audit_template.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcherclient/tests/v1/test_audit_template_shell.py b/watcherclient/tests/v1/test_audit_template_shell.py index 60d80b4..6eecbf9 100644 --- a/watcherclient/tests/v1/test_audit_template_shell.py +++ b/watcherclient/tests/v1/test_audit_template_shell.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 IBM Corp # diff --git a/watcherclient/tests/v1/test_goal.py b/watcherclient/tests/v1/test_goal.py index 1b5c917..505ad45 100644 --- a/watcherclient/tests/v1/test_goal.py +++ b/watcherclient/tests/v1/test_goal.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcherclient/tests/v1/test_goal_shell.py b/watcherclient/tests/v1/test_goal_shell.py index 82154eb..d4b5584 100644 --- a/watcherclient/tests/v1/test_goal_shell.py +++ b/watcherclient/tests/v1/test_goal_shell.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/watcherclient/tests/v1/test_scoring_engine.py b/watcherclient/tests/v1/test_scoring_engine.py index c308328..6a248fb 100644 --- a/watcherclient/tests/v1/test_scoring_engine.py +++ b/watcherclient/tests/v1/test_scoring_engine.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2016 Intel # diff --git a/watcherclient/tests/v1/test_scoring_engine_shell.py b/watcherclient/tests/v1/test_scoring_engine_shell.py index e51218f..d13dbb1 100644 --- a/watcherclient/tests/v1/test_scoring_engine_shell.py +++ b/watcherclient/tests/v1/test_scoring_engine_shell.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 Intel # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/watcherclient/tests/v1/test_service.py b/watcherclient/tests/v1/test_service.py index 791a4d2..38e8a8c 100644 --- a/watcherclient/tests/v1/test_service.py +++ b/watcherclient/tests/v1/test_service.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcherclient/tests/v1/test_service_shell.py b/watcherclient/tests/v1/test_service_shell.py index 89e11c6..0800535 100644 --- a/watcherclient/tests/v1/test_service_shell.py +++ b/watcherclient/tests/v1/test_service_shell.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 Servionica # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/watcherclient/tests/v1/test_strategy.py b/watcherclient/tests/v1/test_strategy.py index 0b13cfa..02d6f2d 100644 --- a/watcherclient/tests/v1/test_strategy.py +++ b/watcherclient/tests/v1/test_strategy.py @@ -1,5 +1,3 @@ -# -*- coding: utf-8 -*- - # Copyright 2013 Red Hat, Inc. # All Rights Reserved. # diff --git a/watcherclient/tests/v1/test_strategy_shell.py b/watcherclient/tests/v1/test_strategy_shell.py index f801d74..b541d3b 100644 --- a/watcherclient/tests/v1/test_strategy_shell.py +++ b/watcherclient/tests/v1/test_strategy_shell.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/watcherclient/v1/__init__.py b/watcherclient/v1/__init__.py index 9d8a2d7..075f37c 100644 --- a/watcherclient/v1/__init__.py +++ b/watcherclient/v1/__init__.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/watcherclient/v1/action.py b/watcherclient/v1/action.py index 66c6089..4448a3f 100644 --- a/watcherclient/v1/action.py +++ b/watcherclient/v1/action.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 Red Hat, Inc. # diff --git a/watcherclient/v1/action_plan.py b/watcherclient/v1/action_plan.py index d0ac78d..411ddde 100644 --- a/watcherclient/v1/action_plan.py +++ b/watcherclient/v1/action_plan.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 Red Hat, Inc. # diff --git a/watcherclient/v1/action_plan_shell.py b/watcherclient/v1/action_plan_shell.py index 76194b2..4197201 100644 --- a/watcherclient/v1/action_plan_shell.py +++ b/watcherclient/v1/action_plan_shell.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/watcherclient/v1/action_shell.py b/watcherclient/v1/action_shell.py index 1583570..2d200cf 100644 --- a/watcherclient/v1/action_shell.py +++ b/watcherclient/v1/action_shell.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/watcherclient/v1/audit.py b/watcherclient/v1/audit.py index 28c2573..b200b3b 100644 --- a/watcherclient/v1/audit.py +++ b/watcherclient/v1/audit.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 Red Hat, Inc. # diff --git a/watcherclient/v1/audit_shell.py b/watcherclient/v1/audit_shell.py index 3c734ae..71455f8 100644 --- a/watcherclient/v1/audit_shell.py +++ b/watcherclient/v1/audit_shell.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/watcherclient/v1/audit_template.py b/watcherclient/v1/audit_template.py index 60dad1e..872ec8f 100644 --- a/watcherclient/v1/audit_template.py +++ b/watcherclient/v1/audit_template.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 Red Hat, Inc. # diff --git a/watcherclient/v1/audit_template_shell.py b/watcherclient/v1/audit_template_shell.py index 9d93866..cbec3c3 100644 --- a/watcherclient/v1/audit_template_shell.py +++ b/watcherclient/v1/audit_template_shell.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/watcherclient/v1/goal.py b/watcherclient/v1/goal.py index 8046950..485a464 100644 --- a/watcherclient/v1/goal.py +++ b/watcherclient/v1/goal.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 Red Hat, Inc. # diff --git a/watcherclient/v1/goal_shell.py b/watcherclient/v1/goal_shell.py index 5cb0a96..0f06e49 100644 --- a/watcherclient/v1/goal_shell.py +++ b/watcherclient/v1/goal_shell.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 Red Hat, Inc. # All Rights Reserved. diff --git a/watcherclient/v1/resource_fields.py b/watcherclient/v1/resource_fields.py index eb7b31b..5b7371b 100644 --- a/watcherclient/v1/resource_fields.py +++ b/watcherclient/v1/resource_fields.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2015 b<>com # All Rights Reserved. diff --git a/watcherclient/v1/scoring_engine.py b/watcherclient/v1/scoring_engine.py index 3f0343d..47b2c29 100644 --- a/watcherclient/v1/scoring_engine.py +++ b/watcherclient/v1/scoring_engine.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2016 Intel # diff --git a/watcherclient/v1/scoring_engine_shell.py b/watcherclient/v1/scoring_engine_shell.py index 40e9483..3381b49 100644 --- a/watcherclient/v1/scoring_engine_shell.py +++ b/watcherclient/v1/scoring_engine_shell.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 Intel # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/watcherclient/v1/service.py b/watcherclient/v1/service.py index 896c883..67b9192 100644 --- a/watcherclient/v1/service.py +++ b/watcherclient/v1/service.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2016 Servionica # diff --git a/watcherclient/v1/service_shell.py b/watcherclient/v1/service_shell.py index bb9c99d..9faf070 100644 --- a/watcherclient/v1/service_shell.py +++ b/watcherclient/v1/service_shell.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 Servionica # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/watcherclient/v1/strategy.py b/watcherclient/v1/strategy.py index 9487c0b..f709b85 100644 --- a/watcherclient/v1/strategy.py +++ b/watcherclient/v1/strategy.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright 2013 Red Hat, Inc. # diff --git a/watcherclient/v1/strategy_shell.py b/watcherclient/v1/strategy_shell.py index 91b3ff4..4ecf7bb 100644 --- a/watcherclient/v1/strategy_shell.py +++ b/watcherclient/v1/strategy_shell.py @@ -1,4 +1,3 @@ -# -*- encoding: utf-8 -*- # Copyright (c) 2016 b<>com # # Licensed under the Apache License, Version 2.0 (the "License");