From b1964dee35e80ac0110f8fd8998855162292731f Mon Sep 17 00:00:00 2001 From: Nathaniel Manista Date: Tue, 16 Feb 2016 22:53:18 +0000 Subject: [PATCH] Cosmetic tweaks Unnecessary (and embarrassingly out-of-date) shebang lines are dropped. License headers are trimmed to not have single-octothorpe lines above or below. The xsrfutil_test module doc string is trimmed of repeated information and placed properly after a blank line following the license header. --- oauth2client/contrib/xsrfutil.py | 1 - oauth2client/util.py | 3 --- tests/contrib/test_appengine.py | 2 -- tests/contrib/test_django_orm.py | 2 -- tests/contrib/test_xsrfutil.py | 4 +--- tests/test_client.py | 2 -- tests/test_file.py | 2 -- 7 files changed, 1 insertion(+), 15 deletions(-) diff --git a/oauth2client/contrib/xsrfutil.py b/oauth2client/contrib/xsrfutil.py index 10bbe3f..20e728e 100644 --- a/oauth2client/contrib/xsrfutil.py +++ b/oauth2client/contrib/xsrfutil.py @@ -1,4 +1,3 @@ -# # Copyright 2014 the Melange authors. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/oauth2client/util.py b/oauth2client/util.py index 1150e2b..2b7106e 100644 --- a/oauth2client/util.py +++ b/oauth2client/util.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -13,7 +11,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -# """Common utility library.""" diff --git a/tests/contrib/test_appengine.py b/tests/contrib/test_appengine.py index 184e8f7..4e82429 100644 --- a/tests/contrib/test_appengine.py +++ b/tests/contrib/test_appengine.py @@ -1,5 +1,3 @@ -#!/usr/bin/python2.4 -# # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/contrib/test_django_orm.py b/tests/contrib/test_django_orm.py index 8e8c5f4..70f00df 100644 --- a/tests/contrib/test_django_orm.py +++ b/tests/contrib/test_django_orm.py @@ -1,5 +1,3 @@ -#!/usr/bin/python2.4 -# # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/contrib/test_xsrfutil.py b/tests/contrib/test_xsrfutil.py index abbc394..2f7d628 100644 --- a/tests/contrib/test_xsrfutil.py +++ b/tests/contrib/test_xsrfutil.py @@ -11,10 +11,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -"""Tests for oauth2client.contrib.xsrfutil. -Unit tests for oauth2client.contrib.xsrfutil. -""" +"""Tests for oauth2client.contrib.xsrfutil.""" import base64 import unittest diff --git a/tests/test_client.py b/tests/test_client.py index 4c7e31d..779b29b 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -1,5 +1,3 @@ -#!/usr/bin/python2.4 -# # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/test_file.py b/tests/test_file.py index a2d8097..84980eb 100644 --- a/tests/test_file.py +++ b/tests/test_file.py @@ -1,5 +1,3 @@ -#!/usr/bin/python2.4 -# # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License");