From f416aa695544fafe09a7be02f34cebc0f4d718b4 Mon Sep 17 00:00:00 2001 From: "Jay Lau (Guangya Liu)" Date: Sun, 15 Feb 2015 14:31:19 +0800 Subject: [PATCH] Remove # -*- encoding: utf-8 -*- from some python files Some python files do not need to encode in utf-8, so just remove "# -*- encoding: utf-8 -*-" from those files. Change-Id: Iafdf4eda876b6599b75c7710e69f62918842ebec Closes-Bug: #1422067 --- magnum/api/middleware/__init__.py | 2 -- magnum/api/middleware/auth_token.py | 2 -- magnum/api/middleware/parsable_error.py | 2 -- magnum/common/context.py | 2 -- magnum/db/api.py | 2 -- magnum/db/sqlalchemy/api.py | 2 -- magnum/db/sqlalchemy/models.py | 2 -- magnum/tests/api/base.py | 2 -- magnum/tests/api/utils.py | 2 -- 9 files changed, 18 deletions(-) diff --git a/magnum/api/middleware/__init__.py b/magnum/api/middleware/__init__.py index c3a89ed95c..ee159314ce 100644 --- a/magnum/api/middleware/__init__.py +++ b/magnum/api/middleware/__init__.py @@ -1,5 +1,3 @@ -# -*- encoding: 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/magnum/api/middleware/auth_token.py b/magnum/api/middleware/auth_token.py index 7a7d24728b..208b64bd70 100644 --- a/magnum/api/middleware/auth_token.py +++ b/magnum/api/middleware/auth_token.py @@ -1,5 +1,3 @@ -# -*- encoding: 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/magnum/api/middleware/parsable_error.py b/magnum/api/middleware/parsable_error.py index d98877d933..2b81d313ee 100644 --- a/magnum/api/middleware/parsable_error.py +++ b/magnum/api/middleware/parsable_error.py @@ -1,5 +1,3 @@ -# -*- encoding: utf-8 -*- -# # Copyright ? 2012 New Dream Network, LLC (DreamHost) # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/magnum/common/context.py b/magnum/common/context.py index 3e9a8ce8d6..7bd5a1a763 100644 --- a/magnum/common/context.py +++ b/magnum/common/context.py @@ -1,5 +1,3 @@ -# -*- encoding: 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/magnum/db/api.py b/magnum/db/api.py index d478ec7ab1..a61debb4a3 100644 --- a/magnum/db/api.py +++ b/magnum/db/api.py @@ -1,5 +1,3 @@ -# -*- encoding: utf-8 -*- -# # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/magnum/db/sqlalchemy/api.py b/magnum/db/sqlalchemy/api.py index c14a489f68..785162a907 100644 --- a/magnum/db/sqlalchemy/api.py +++ b/magnum/db/sqlalchemy/api.py @@ -1,5 +1,3 @@ -# -*- encoding: utf-8 -*- -# # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/magnum/db/sqlalchemy/models.py b/magnum/db/sqlalchemy/models.py index ac511ceeee..ae10af122b 100644 --- a/magnum/db/sqlalchemy/models.py +++ b/magnum/db/sqlalchemy/models.py @@ -1,5 +1,3 @@ -# -*- encoding: utf-8 -*- -# # Copyright 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); you may diff --git a/magnum/tests/api/base.py b/magnum/tests/api/base.py index d3b126570c..ea531a3346 100644 --- a/magnum/tests/api/base.py +++ b/magnum/tests/api/base.py @@ -1,5 +1,3 @@ -# -*- encoding: utf-8 -*- -# # Copyright 2013 Hewlett-Packard Development Company, L.P. # All Rights Reserved. # diff --git a/magnum/tests/api/utils.py b/magnum/tests/api/utils.py index bf5e4b4953..4fe51ed665 100644 --- a/magnum/tests/api/utils.py +++ b/magnum/tests/api/utils.py @@ -1,5 +1,3 @@ -# -*- encoding: 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