[PATCH] Set shebangs to python2. BZ 997165

Ales Kozumplik akozumpl at redhat.com
Thu Aug 15 10:08:39 UTC 2013


Just a note: Some of these files don't even need a shebang, they can not 
and should not run on their own.

Ales

On 08/15/2013 10:56 AM, Zdenek Pavlas wrote:
> ---
>   bin/yum-updatesd.py             | 2 +-
>   bin/yum.py                      | 2 +-
>   callback.py                     | 2 +-
>   cli.py                          | 2 +-
>   completion-helper.py            | 2 +-
>   docs/sphinxdocs/rstgenerator.py | 2 +-
>   output.py                       | 2 +-
>   po/pygettext.py                 | 2 +-
>   rpmUtils/__init__.py            | 2 +-
>   rpmUtils/arch.py                | 2 +-
>   rpmUtils/miscutils.py           | 2 +-
>   rpmUtils/oldUtils.py            | 2 +-
>   rpmUtils/transaction.py         | 2 +-
>   rpmUtils/updates.py             | 2 +-
>   shell.py                        | 2 +-
>   test/check-po-yes-no.py         | 2 +-
>   test/rpmdb-cache.py             | 2 +-
>   test/yum-leak-test.py           | 2 +-
>   utils.py                        | 2 +-
>   yum-cron/yum-cron.py            | 2 +-
>   yum-updatesd.py                 | 2 +-
>   yum/Errors.py                   | 2 +-
>   yum/__init__.py                 | 2 +-
>   yum/callbacks.py                | 2 +-
>   yum/comps.py                    | 2 +-
>   yum/config.py                   | 2 +-
>   yum/constants.py                | 2 +-
>   yum/depsolve.py                 | 2 +-
>   yum/failover.py                 | 2 +-
>   yum/history.py                  | 2 +-
>   yum/i18n.py                     | 2 +-
>   yum/igroups.py                  | 2 +-
>   yum/logginglevels.py            | 2 +-
>   yum/mdparser.py                 | 2 +-
>   yum/metalink.py                 | 2 +-
>   yum/misc.py                     | 2 +-
>   yum/packageSack.py              | 2 +-
>   yum/packages.py                 | 2 +-
>   yum/parser.py                   | 2 +-
>   yum/pgpmsg.py                   | 2 +-
>   yum/pkgtag_db.py                | 2 +-
>   yum/plugins.py                  | 2 +-
>   yum/repoMDObject.py             | 2 +-
>   yum/repos.py                    | 2 +-
>   yum/rpmsack.py                  | 2 +-
>   yum/rpmtrans.py                 | 2 +-
>   yum/sqlitesack.py               | 2 +-
>   yum/sqlutils.py                 | 2 +-
>   yum/transactioninfo.py          | 2 +-
>   yum/update_md.py                | 2 +-
>   yum/yumRepo.py                  | 2 +-
>   yumcommands.py                  | 2 +-
>   yummain.py                      | 2 +-
>   53 files changed, 53 insertions(+), 53 deletions(-)
>
> diff --git a/bin/yum-updatesd.py b/bin/yum-updatesd.py
> index 131c182..b829e24 100755
> --- a/bin/yum-updatesd.py
> +++ b/bin/yum-updatesd.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python
> +#!/usr/bin/python2
>   import sys, os
>   import optparse
>
> diff --git a/bin/yum.py b/bin/yum.py
> index 7ccee31..64bed67 100755
> --- a/bin/yum.py
> +++ b/bin/yum.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python
> +#!/usr/bin/python2
>   import sys
>   try:
>       import yum
> diff --git a/callback.py b/callback.py
> index 2e5a052..d9ebaac 100644
> --- a/callback.py
> +++ b/callback.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/cli.py b/cli.py
> index 7fa638b..e52dde9 100755
> --- a/cli.py
> +++ b/cli.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/completion-helper.py b/completion-helper.py
> index c0e5a28..0b6b0b3 100755
> --- a/completion-helper.py
> +++ b/completion-helper.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # -*- coding: utf-8 -*-
>   #
>   # Copyright (C) 2011 Ville Skyttä
> diff --git a/docs/sphinxdocs/rstgenerator.py b/docs/sphinxdocs/rstgenerator.py
> index ad24788..a08c015 100755
> --- a/docs/sphinxdocs/rstgenerator.py
> +++ b/docs/sphinxdocs/rstgenerator.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python
> +#! /usr/bin/python2
>
>   import sys, re, os
>
> diff --git a/output.py b/output.py
> index cf9e985..66d6630 100755
> --- a/output.py
> +++ b/output.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>
>   """Handle actual output from the cli."""
>
> diff --git a/po/pygettext.py b/po/pygettext.py
> index 7f13138..75b431d 100644
> --- a/po/pygettext.py
> +++ b/po/pygettext.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python
> +#!/usr/bin/python2
>   # coding=utf-8
>   # Originally written by Barry Warsaw <bwarsaw at python.org>
>   #
> diff --git a/rpmUtils/__init__.py b/rpmUtils/__init__.py
> index 3c230db..6f14c91 100644
> --- a/rpmUtils/__init__.py
> +++ b/rpmUtils/__init__.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>
>
>   class RpmUtilsError(Exception):
> diff --git a/rpmUtils/arch.py b/rpmUtils/arch.py
> index 6172b1a..6166fe1 100644
> --- a/rpmUtils/arch.py
> +++ b/rpmUtils/arch.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python
> +#!/usr/bin/python2
>   #
>
>   import os
> diff --git a/rpmUtils/miscutils.py b/rpmUtils/miscutils.py
> index aea4550..0ddf64b 100644
> --- a/rpmUtils/miscutils.py
> +++ b/rpmUtils/miscutils.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
> diff --git a/rpmUtils/oldUtils.py b/rpmUtils/oldUtils.py
> index 5f1d9ec..aea3494 100644
> --- a/rpmUtils/oldUtils.py
> +++ b/rpmUtils/oldUtils.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>
>   import rpm
>   import types
> diff --git a/rpmUtils/transaction.py b/rpmUtils/transaction.py
> index 778ed2d..ae097a0 100644
> --- a/rpmUtils/transaction.py
> +++ b/rpmUtils/transaction.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python
> +#!/usr/bin/python2
>
>   #
>   # Client code for Update Agent
> diff --git a/rpmUtils/updates.py b/rpmUtils/updates.py
> index 012d00d..5764513 100644
> --- a/rpmUtils/updates.py
> +++ b/rpmUtils/updates.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/shell.py b/shell.py
> index 2232b03..400a8e5 100644
> --- a/shell.py
> +++ b/shell.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/test/check-po-yes-no.py b/test/check-po-yes-no.py
> index b8f3406..18e33d3 100755
> --- a/test/check-po-yes-no.py
> +++ b/test/check-po-yes-no.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>
>   # This is a simple command to check that "Is this ok [y/N]: " and yes and no
>   # have either all been translated or none have been translated.
> diff --git a/test/rpmdb-cache.py b/test/rpmdb-cache.py
> index 7768a93..549c7d1 100755
> --- a/test/rpmdb-cache.py
> +++ b/test/rpmdb-cache.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>
>   import sys
>   import yum
> diff --git a/test/yum-leak-test.py b/test/yum-leak-test.py
> index dd64483..a81e32b 100755
> --- a/test/yum-leak-test.py
> +++ b/test/yum-leak-test.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>
>   # Do either:
>   # ./yum-leak-test.py
> diff --git a/utils.py b/utils.py
> index 28fdd70..b2aab12 100755
> --- a/utils.py
> +++ b/utils.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum-cron/yum-cron.py b/yum-cron/yum-cron.py
> index bdfaa28..62f402c 100755
> --- a/yum-cron/yum-cron.py
> +++ b/yum-cron/yum-cron.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   import os
>   import sys
>   import gzip
> diff --git a/yum-updatesd.py b/yum-updatesd.py
> index 2f3f7a3..65ea57d 100755
> --- a/yum-updatesd.py
> +++ b/yum-updatesd.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/Errors.py b/yum/Errors.py
> index 70de539..c50c4c2 100644
> --- a/yum/Errors.py
> +++ b/yum/Errors.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/__init__.py b/yum/__init__.py
> index 7a5332b..19a91a2 100644
> --- a/yum/__init__.py
> +++ b/yum/__init__.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/callbacks.py b/yum/callbacks.py
> index a9a8e53..64ec2f7 100644
> --- a/yum/callbacks.py
> +++ b/yum/callbacks.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/comps.py b/yum/comps.py
> index af79a55..a0a3fd2 100755
> --- a/yum/comps.py
> +++ b/yum/comps.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/config.py b/yum/config.py
> index cd3ef2e..3bd8645 100644
> --- a/yum/config.py
> +++ b/yum/config.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
> diff --git a/yum/constants.py b/yum/constants.py
> index 5c728d4..f97c749 100644
> --- a/yum/constants.py
> +++ b/yum/constants.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/depsolve.py b/yum/depsolve.py
> index 52b751b..e180a50 100644
> --- a/yum/depsolve.py
> +++ b/yum/depsolve.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/failover.py b/yum/failover.py
> index 00c17ad..1b7cd36 100644
> --- a/yum/failover.py
> +++ b/yum/failover.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python
> +#!/usr/bin/python2
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/history.py b/yum/history.py
> index 6f60f54..864468f 100644
> --- a/yum/history.py
> +++ b/yum/history.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/i18n.py b/yum/i18n.py
> index 76a258d..fc9ec04 100755
> --- a/yum/i18n.py
> +++ b/yum/i18n.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/igroups.py b/yum/igroups.py
> index cbb070f..6df689b 100644
> --- a/yum/igroups.py
> +++ b/yum/igroups.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/logginglevels.py b/yum/logginglevels.py
> index 8a811ae..beb88d7 100644
> --- a/yum/logginglevels.py
> +++ b/yum/logginglevels.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/mdparser.py b/yum/mdparser.py
> index 8631f06..efb0ac1 100644
> --- a/yum/mdparser.py
> +++ b/yum/mdparser.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
> diff --git a/yum/metalink.py b/yum/metalink.py
> index a2c5135..ef329bb 100755
> --- a/yum/metalink.py
> +++ b/yum/metalink.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/misc.py b/yum/misc.py
> index a9c60cc..dc07722 100644
> --- a/yum/misc.py
> +++ b/yum/misc.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   """
>   Assorted utility functions for yum.
>   """
> diff --git a/yum/packageSack.py b/yum/packageSack.py
> index a702ac1..98614e9 100644
> --- a/yum/packageSack.py
> +++ b/yum/packageSack.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/packages.py b/yum/packages.py
> index deb44e4..7293046 100644
> --- a/yum/packages.py
> +++ b/yum/packages.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/parser.py b/yum/parser.py
> index f443ce7..f747ccf 100644
> --- a/yum/parser.py
> +++ b/yum/parser.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   import re
>   import urlparse
>   import urlgrabber
> diff --git a/yum/pgpmsg.py b/yum/pgpmsg.py
> index dae60c9..4d0f304 100644
> --- a/yum/pgpmsg.py
> +++ b/yum/pgpmsg.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   ##Copyright (C) 2003,2005,2009  Jens B. Jorgensen <jbj1 at ultraemail.net>
>   ##
>   ##This program is free software; you can redistribute it and/or
> diff --git a/yum/pkgtag_db.py b/yum/pkgtag_db.py
> index 934f246..cb77706 100644
> --- a/yum/pkgtag_db.py
> +++ b/yum/pkgtag_db.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/plugins.py b/yum/plugins.py
> index a10e4fb..18d3b87 100644
> --- a/yum/plugins.py
> +++ b/yum/plugins.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/repoMDObject.py b/yum/repoMDObject.py
> index 97e6797..0135387 100755
> --- a/yum/repoMDObject.py
> +++ b/yum/repoMDObject.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/repos.py b/yum/repos.py
> index 67ef1e4..f8b4768 100644
> --- a/yum/repos.py
> +++ b/yum/repos.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/rpmsack.py b/yum/rpmsack.py
> index 5b9f798..14014d7 100644
> --- a/yum/rpmsack.py
> +++ b/yum/rpmsack.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/rpmtrans.py b/yum/rpmtrans.py
> index 74a0f3f..dd6e145 100644
> --- a/yum/rpmtrans.py
> +++ b/yum/rpmtrans.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/sqlitesack.py b/yum/sqlitesack.py
> index 65401a9..4a4f30d 100644
> --- a/yum/sqlitesack.py
> +++ b/yum/sqlitesack.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
> diff --git a/yum/sqlutils.py b/yum/sqlutils.py
> index 826ad62..89aea99 100644
> --- a/yum/sqlutils.py
> +++ b/yum/sqlutils.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -tt
> +#!/usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of version 2 of the GNU General Public License
>   # as published by the Free Software Foundation
> diff --git a/yum/transactioninfo.py b/yum/transactioninfo.py
> index 57a6764..3bc4989 100644
> --- a/yum/transactioninfo.py
> +++ b/yum/transactioninfo.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/update_md.py b/yum/update_md.py
> index 66cd93b..e585d55 100644
> --- a/yum/update_md.py
> +++ b/yum/update_md.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yum/yumRepo.py b/yum/yumRepo.py
> index 970b628..83f90bb 100644
> --- a/yum/yumRepo.py
> +++ b/yum/yumRepo.py
> @@ -1,4 +1,4 @@
> -#! /usr/bin/python -tt
> +#! /usr/bin/python2 -tt
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yumcommands.py b/yumcommands.py
> index 1341f23..efce6d7 100644
> --- a/yumcommands.py
> +++ b/yumcommands.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
> diff --git a/yummain.py b/yummain.py
> index ac94f65..afaca16 100755
> --- a/yummain.py
> +++ b/yummain.py
> @@ -1,4 +1,4 @@
> -#!/usr/bin/python -t
> +#!/usr/bin/python2 -t
>   # This program is free software; you can redistribute it and/or modify
>   # it under the terms of the GNU General Public License as published by
>   # the Free Software Foundation; either version 2 of the License, or
>



More information about the Yum-devel mailing list