From 6194cdb7cb9d00a58646734d52e6289720712268 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Thu, 18 Aug 2016 09:00:39 +0200 Subject: drop python shebangs that's not supposed to be... --- MgaRepo/__init__.py | 1 - MgaRepo/cgi/soapserver.py | 1 - MgaRepo/cgi/submit.py | 1 - MgaRepo/cgi/xmlrpcserver.py | 1 - MgaRepo/cgiutil.py | 1 - MgaRepo/command.py | 1 - MgaRepo/commands/authoremail.py | 1 - MgaRepo/commands/buildrpm.py | 2 -- MgaRepo/commands/changed.py | 1 - MgaRepo/commands/ci.py | 1 - MgaRepo/commands/clone.py | 1 - MgaRepo/commands/co.py | 1 - MgaRepo/commands/create.py | 1 - MgaRepo/commands/editlog.py | 1 - MgaRepo/commands/getspec.py | 1 - MgaRepo/commands/getsrpm.py | 1 - MgaRepo/commands/github.py | 1 - MgaRepo/commands/log.py | 1 - MgaRepo/commands/maintdb.py | 1 - MgaRepo/commands/markrelease.py | 1 - MgaRepo/commands/obsolete.py | 1 - MgaRepo/commands/patchspec.py | 1 - MgaRepo/commands/putsrpm.py | 1 - MgaRepo/commands/rpmlog.py | 1 - MgaRepo/commands/submit.py | 1 - MgaRepo/commands/switch.py | 1 - MgaRepo/commands/sync.py | 1 - MgaRepo/log.py | 1 - MgaRepo/rpmutil.py | 1 - MgaRepo/simplerpm.py | 1 - MgaRepo/util.py | 2 -- 31 files changed, 33 deletions(-) diff --git a/MgaRepo/__init__.py b/MgaRepo/__init__.py index 3c39f55..5d26da2 100644 --- a/MgaRepo/__init__.py +++ b/MgaRepo/__init__.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 import re import os import tempfile diff --git a/MgaRepo/cgi/soapserver.py b/MgaRepo/cgi/soapserver.py index 2fdbe0b..8702cca 100644 --- a/MgaRepo/cgi/soapserver.py +++ b/MgaRepo/cgi/soapserver.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, config from MgaRepo.rpmutil import get_srpm from MgaRepo.cgiutil import CgiError, get_targets diff --git a/MgaRepo/cgi/submit.py b/MgaRepo/cgi/submit.py index e06ae07..85cb5a8 100644 --- a/MgaRepo/cgi/submit.py +++ b/MgaRepo/cgi/submit.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, config from MgaRepo.rpmutil import get_srpm from MgaRepo.cgiutil import CgiError, get_targets diff --git a/MgaRepo/cgi/xmlrpcserver.py b/MgaRepo/cgi/xmlrpcserver.py index a1b2b73..b042a9c 100644 --- a/MgaRepo/cgi/xmlrpcserver.py +++ b/MgaRepo/cgi/xmlrpcserver.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, config from MgaRepo.rpmutil import get_srpm from MgaRepo.cgiutil import CgiError, get_targets diff --git a/MgaRepo/cgiutil.py b/MgaRepo/cgiutil.py index 7dcc71b..072604e 100644 --- a/MgaRepo/cgiutil.py +++ b/MgaRepo/cgiutil.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 from MgaRepo import Error, config from MgaRepo.svn import SVN from MgaRepo.ConfigParser import NoSectionError diff --git a/MgaRepo/command.py b/MgaRepo/command.py index 72a6894..ae297d6 100644 --- a/MgaRepo/command.py +++ b/MgaRepo/command.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 from MgaRepo import SilentError, Error, config import sys, os import urllib.parse diff --git a/MgaRepo/commands/authoremail.py b/MgaRepo/commands/authoremail.py index fcb8a86..27ffaf5 100644 --- a/MgaRepo/commands/authoremail.py +++ b/MgaRepo/commands/authoremail.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, config from MgaRepo.command import * import sys diff --git a/MgaRepo/commands/buildrpm.py b/MgaRepo/commands/buildrpm.py index 9caec45..a9230e4 100644 --- a/MgaRepo/commands/buildrpm.py +++ b/MgaRepo/commands/buildrpm.py @@ -1,5 +1,3 @@ -#!/usr/bin/python -# from MgaRepo.command import do_command from MgaRepo.rpmutil import build_rpm from optparse import * diff --git a/MgaRepo/commands/changed.py b/MgaRepo/commands/changed.py index 4ac16bc..493e9af 100644 --- a/MgaRepo/commands/changed.py +++ b/MgaRepo/commands/changed.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, disable_mirror from MgaRepo.command import * from MgaRepo.layout import package_url diff --git a/MgaRepo/commands/ci.py b/MgaRepo/commands/ci.py index e64ac4e..24e7923 100644 --- a/MgaRepo/commands/ci.py +++ b/MgaRepo/commands/ci.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo.command import * from MgaRepo.rpmutil import commit diff --git a/MgaRepo/commands/clone.py b/MgaRepo/commands/clone.py index 2c898d1..88279db 100644 --- a/MgaRepo/commands/clone.py +++ b/MgaRepo/commands/clone.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error from MgaRepo.command import * from MgaRepo.rpmutil import clone diff --git a/MgaRepo/commands/co.py b/MgaRepo/commands/co.py index a6911cc..b257f21 100644 --- a/MgaRepo/commands/co.py +++ b/MgaRepo/commands/co.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, disable_mirror from MgaRepo.command import * from MgaRepo.rpmutil import checkout diff --git a/MgaRepo/commands/create.py b/MgaRepo/commands/create.py index e9a89e8..a947fed 100644 --- a/MgaRepo/commands/create.py +++ b/MgaRepo/commands/create.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error from MgaRepo.command import * from MgaRepo.layout import package_url diff --git a/MgaRepo/commands/editlog.py b/MgaRepo/commands/editlog.py index 163651d..9e82a38 100644 --- a/MgaRepo/commands/editlog.py +++ b/MgaRepo/commands/editlog.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error from MgaRepo.command import * from MgaRepo.layout import package_url diff --git a/MgaRepo/commands/getspec.py b/MgaRepo/commands/getspec.py index e1ba4c4..884e919 100644 --- a/MgaRepo/commands/getspec.py +++ b/MgaRepo/commands/getspec.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, disable_mirror from MgaRepo.command import * from MgaRepo.layout import package_url diff --git a/MgaRepo/commands/getsrpm.py b/MgaRepo/commands/getsrpm.py index 5eb630b..caadfeb 100644 --- a/MgaRepo/commands/getsrpm.py +++ b/MgaRepo/commands/getsrpm.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # This program will extract given version/revision of the named package # from the Conectiva Linux repository system. diff --git a/MgaRepo/commands/github.py b/MgaRepo/commands/github.py index dece050..7d787e4 100644 --- a/MgaRepo/commands/github.py +++ b/MgaRepo/commands/github.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error from MgaRepo.command import * from MgaRepo.GitHub import GitHub diff --git a/MgaRepo/commands/log.py b/MgaRepo/commands/log.py index 330a96a..6d742de 100644 --- a/MgaRepo/commands/log.py +++ b/MgaRepo/commands/log.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import config, mirror, disable_mirror from MgaRepo.command import * from MgaRepo.layout import package_url, checkout_url diff --git a/MgaRepo/commands/maintdb.py b/MgaRepo/commands/maintdb.py index 2aa2a4c..0bd4d56 100644 --- a/MgaRepo/commands/maintdb.py +++ b/MgaRepo/commands/maintdb.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, config from MgaRepo.command import * from MgaRepo.util import execcmd, get_helper diff --git a/MgaRepo/commands/markrelease.py b/MgaRepo/commands/markrelease.py index 534d87f..6fb5bbf 100644 --- a/MgaRepo/commands/markrelease.py +++ b/MgaRepo/commands/markrelease.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # This program will append a release to the Conectiva Linux package # repository system. It's meant to be a startup system to include diff --git a/MgaRepo/commands/obsolete.py b/MgaRepo/commands/obsolete.py index 04d8240..9477721 100644 --- a/MgaRepo/commands/obsolete.py +++ b/MgaRepo/commands/obsolete.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # This program will try to patch a spec file from a given package url. # diff --git a/MgaRepo/commands/patchspec.py b/MgaRepo/commands/patchspec.py index dfe54dc..2fd8da4 100644 --- a/MgaRepo/commands/patchspec.py +++ b/MgaRepo/commands/patchspec.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # This program will try to patch a spec file from a given package url. # diff --git a/MgaRepo/commands/putsrpm.py b/MgaRepo/commands/putsrpm.py index 242423b..aa4043c 100644 --- a/MgaRepo/commands/putsrpm.py +++ b/MgaRepo/commands/putsrpm.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error from MgaRepo.command import * from MgaRepo.layout import package_url diff --git a/MgaRepo/commands/rpmlog.py b/MgaRepo/commands/rpmlog.py index 28d66f1..693fe8b 100644 --- a/MgaRepo/commands/rpmlog.py +++ b/MgaRepo/commands/rpmlog.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # # This program will convert the output of "svn log" to be suitable # for usage in an rpm %changelog session. diff --git a/MgaRepo/commands/submit.py b/MgaRepo/commands/submit.py index d36290f..665b98a 100644 --- a/MgaRepo/commands/submit.py +++ b/MgaRepo/commands/submit.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo import Error, config, layout, mirror from MgaRepo.svn import SVN from MgaRepo.command import * diff --git a/MgaRepo/commands/switch.py b/MgaRepo/commands/switch.py index ccca76e..8a33969 100644 --- a/MgaRepo/commands/switch.py +++ b/MgaRepo/commands/switch.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo.command import * from MgaRepo.rpmutil import switch diff --git a/MgaRepo/commands/sync.py b/MgaRepo/commands/sync.py index 54f5635..a56a36e 100644 --- a/MgaRepo/commands/sync.py +++ b/MgaRepo/commands/sync.py @@ -1,4 +1,3 @@ -#!/usr/bin/python from MgaRepo.command import * from MgaRepo.rpmutil import sync diff --git a/MgaRepo/log.py b/MgaRepo/log.py index f6c0fc9..818a876 100644 --- a/MgaRepo/log.py +++ b/MgaRepo/log.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 from MgaRepo import Error, config, layout from MgaRepo.svn import SVN from MgaRepo.util import execcmd diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py index 49ef07f..08fcfd9 100644 --- a/MgaRepo/rpmutil.py +++ b/MgaRepo/rpmutil.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 from MgaRepo import Error, config from MgaRepo import mirror, layout, log, binrepo from MgaRepo.git import GIT diff --git a/MgaRepo/simplerpm.py b/MgaRepo/simplerpm.py index 3d50176..94b0fb0 100644 --- a/MgaRepo/simplerpm.py +++ b/MgaRepo/simplerpm.py @@ -1,4 +1,3 @@ -#!/usr/bin/python3 from MgaRepo.util import execcmd class SRPM: diff --git a/MgaRepo/util.py b/MgaRepo/util.py index 64faaa1..c0566de 100644 --- a/MgaRepo/util.py +++ b/MgaRepo/util.py @@ -1,5 +1,3 @@ -#!/usr/bin/python3 - from MgaRepo import Error, config import shlex -- cgit v1.2.1