From 6e372ca61dccae5c670ba27580dc6deda075402f Mon Sep 17 00:00:00 2001 From: Milan Verespej Date: Mon, 8 Jul 2019 12:42:30 +0200 Subject: Fix wrong shebang in download scripts Download does not support python2 so shebang could cause problem. This commit fixes that or removes shebang where not necessary. Issue-ID: OOM-1964 Change-Id: I443f5ef61b9bddfddba66d858d8f65c5ceacd90a Signed-off-by: Milan Verespej --- build/download/__init__.py | 2 -- build/download/command_downloader.py | 1 - build/download/concurrent_downloader.py | 1 - build/download/docker_downloader.py | 2 +- build/download/download.py | 2 +- build/download/downloader.py | 1 - build/download/git_downloader.py | 2 +- build/download/http_downloader.py | 2 +- build/download/npm_downloader.py | 2 +- build/download/pypi_downloader.py | 2 +- build/download/rpm_downloader.py | 2 +- 11 files changed, 7 insertions(+), 12 deletions(-) (limited to 'build/download') diff --git a/build/download/__init__.py b/build/download/__init__.py index f0efbc15..b1ef8d99 100644 --- a/build/download/__init__.py +++ b/build/download/__init__.py @@ -1,5 +1,3 @@ - -#! /usr/bin/env python # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/command_downloader.py b/build/download/command_downloader.py index 5efc8b0f..835d218d 100755 --- a/build/download/command_downloader.py +++ b/build/download/command_downloader.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/concurrent_downloader.py b/build/download/concurrent_downloader.py index c84dac86..a150db73 100644 --- a/build/download/concurrent_downloader.py +++ b/build/download/concurrent_downloader.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/docker_downloader.py b/build/download/docker_downloader.py index 13323d3b..d83f682c 100755 --- a/build/download/docker_downloader.py +++ b/build/download/docker_downloader.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/download.py b/build/download/download.py index 0af12989..6d76b369 100755 --- a/build/download/download.py +++ b/build/download/download.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/downloader.py b/build/download/downloader.py index 7aece0cd..6bbab35d 100644 --- a/build/download/downloader.py +++ b/build/download/downloader.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/git_downloader.py b/build/download/git_downloader.py index 46faa8f8..ed7a3956 100755 --- a/build/download/git_downloader.py +++ b/build/download/git_downloader.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/http_downloader.py b/build/download/http_downloader.py index ba2c0f7e..c6b7c6e9 100644 --- a/build/download/http_downloader.py +++ b/build/download/http_downloader.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/npm_downloader.py b/build/download/npm_downloader.py index 369af72a..ed4152b8 100755 --- a/build/download/npm_downloader.py +++ b/build/download/npm_downloader.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/pypi_downloader.py b/build/download/pypi_downloader.py index 4ab6b1f4..10ac7b9f 100755 --- a/build/download/pypi_downloader.py +++ b/build/download/pypi_downloader.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE diff --git a/build/download/rpm_downloader.py b/build/download/rpm_downloader.py index 92ae6a78..415f9483 100755 --- a/build/download/rpm_downloader.py +++ b/build/download/rpm_downloader.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 # -*- coding: utf-8 -*- # COPYRIGHT NOTICE STARTS HERE -- cgit 1.2.3-korg