Skip to content

Commit 15744b1

Browse files
committed
Replace remaining python2.4 shebang lines.
Fixes googleapis#40.
1 parent 91debf8 commit 15744b1

26 files changed

+24
-28
lines changed

Diff for: expandsymlinks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: googleapiclient/errors.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/python2.4
2-
#
31
# Copyright 2014 Google Inc. All Rights Reserved.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

Diff for: googleapiclient/model.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/python2.4
2-
#
31
# Copyright 2014 Google Inc. All Rights Reserved.
42
#
53
# Licensed under the Apache License, Version 2.0 (the "License");

Diff for: samples/audit/audit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/blogger/blogger.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/coordinate/coordinate.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/customsearch/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/prediction/prediction.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/searchforshopping/basic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/searchforshopping/crowding.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/searchforshopping/fulltextsearch.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/searchforshopping/histograms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/searchforshopping/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/searchforshopping/pagination.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/searchforshopping/ranking.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/searchforshopping/restricting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/service_account/tasks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/translate/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: samples/urlshortener/urlshortener.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: tests/test_discovery.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding: utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: tests/test_errors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
#
33
# Copyright 2014 Google Inc. All Rights Reserved.
44
#

Diff for: tests/test_http.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
#
33
# Copyright 2014 Google Inc. All Rights Reserved.
44
#

Diff for: tests/test_json_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
#
33
# Copyright 2014 Google Inc. All Rights Reserved.
44
#

Diff for: tests/test_mocks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
#
33
# Copyright 2014 Google Inc. All Rights Reserved.
44
#

Diff for: tests/test_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
# -*- coding:utf-8 -*-
33
#
44
# Copyright 2014 Google Inc. All Rights Reserved.

Diff for: tests/test_protobuf_model.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python2.4
1+
#!/usr/bin/env python
22
#
33
# Copyright 2014 Google Inc. All Rights Reserved.
44
#

0 commit comments

Comments
 (0)