remove dependency for python2.x 18/292418/8
authorbiao716.wang <biao716.wang@samsung.com>
Sat, 6 May 2023 08:02:12 +0000 (17:02 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Sat, 6 May 2023 09:10:02 +0000 (18:10 +0900)
Change-Id: I2dd6eb32c265070d0fd7ec2c3be50d4c7cd6534d
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
36 files changed:
bin/yum-updatesd.py
bin/yum.py
callback.py
cli.py
debian/control
output.py
po/pygettext.py
rpmUtils/__init__.py
rpmUtils/arch.py
rpmUtils/miscutils.py
rpmUtils/oldUtils.py
rpmUtils/transaction.py
rpmUtils/updates.py
utils.py
yum-updatesd.py
yum/Errors.py
yum/__init__.py
yum/callbacks.py
yum/config.py
yum/depsolve.py
yum/failover.py
yum/history.py
yum/i18n.py
yum/metalink.py
yum/packageSack.py
yum/packages.py
yum/pkgtag_db.py
yum/repoMDObject.py
yum/repos.py
yum/rpmsack.py
yum/rpmtrans.py
yum/sqlitesack.py
yum/sqlutils.py
yum/update_md.py
yumcommands.py
yummain.py

index 5f2c9dfab1895c776e21da213fef26913d7027c6..8c8cf6c983e938ec1225fcfab1535cbae02015d4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 import sys, os
 import optparse
 
index 86c607ca4d361fcfc4593569a76ec3970d5ff57f..4d3bba8073bbb2b2a9dd003672f05204e5b88d5e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 import sys
 try:
     import yum
index 4962a82980218e24c434c73a7f5eba5d559f10a0..d37f351cfb7559413304c484c99f4f95267bc1f8 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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 4cdb7525714753919c8c61e04be0fb1b1d23868e..7cad6af4492625995c9bfce1ffdf9353b6feba0c 100644 (file)
--- a/cli.py
+++ b/cli.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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
index 1411e33f36d849f93862f3f68acac1e3f13e3645..aa50f4bcb7b997e69660361b5cc75165f2f1f834 100755 (executable)
@@ -19,7 +19,6 @@ Depends: python3,
  python3-urlgrabber,
  rpm (>= 4.4.1),
  ${misc:Depends},
- ${python3:Depends},
  ${shlibs:Depends}
 Description: Advanced front-end for rpm
  Yum (Yellow dog Updater, Modified) is an automatic updater and package
index 6f23ccba2c3503ae8d92771d9be32fc2717cbdf4..5852abd713e2dedfa6bc5002aef06d0644517531 100755 (executable)
--- a/output.py
+++ b/output.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -t
 
 """This handles actual output from the cli"""
 
index 4a16a040d3341ad2f020b9a0f7f925d45b0efeb0..18471735d901c95ae453c28b80ff9d48aa903adf 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python33
 # Originally written by Barry Warsaw <bwarsaw@python.org>
 #
 # minimally patched to make it even more xgettext compatible 
index 3c230db4f2b1360c60c26a0abe6bb1265142b720..30bf63fc14ede5972d4f4f5e6afec77b7845833b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -tt
 
 
 class RpmUtilsError(Exception):
index b3db11d43b2245bcc44bffb010ff002ed6bae224..3217a692deab3aa342c87320092dd99f551e7e59 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 #
 
 import os
index e33bfbf4fa6aee46589aaf0997bcb15abcf1971f..41ece3008b1d6df5629390e3518dd6e55d02a0d7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index d8cca3cd77c294e1a10165dc51dc3fa54cfda07d..0648e34972a3c238ea4802f43b6e891ab8ae0621 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -tt
 
 import rpm
 import types
index 3d46ab41dc2c9ad3f3784a72b605b90d96c8552f..7a499d37d3348475f088785ce1071fa4348b6764 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 #
 # Client code for Update Agent
index 8f655ff49bb24baf5492db0d2b20e8fca08a539c..ccaa6cb986242d0df8ce7aafeec9630a23e66b2a 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index 4176084571bfbfe249f72832a8b27805db8f5453..3e601063855832ca869ea784e690268d0ca17892 100644 (file)
--- a/utils.py
+++ b/utils.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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
index f18a7d1c26e45e08d8d644e9a068ae21bb3d7488..1c5b2d1c0ee38dd1608bcb9bef0e8ca562edf303 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index c51d825b121aebacd528bca4e5ca50f2fef5a17d..6889b93a3435d552408b3995b1004874fadd87ba 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index fc9cf300c9e35c42cac37b039e52d78d7d73f11f..97e3ca4dd2ad020737b6a3a01be93ea279469b98 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index f8ca2a910677a514b5c187d3c21883ef9d9f1999..51870b26d4be7ec4de76eecd1bb22e43940fb6e4 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index 52f60ecd34226e2f5d98a00dfdbf4fde11d901da..850e7dcb633979d4b3400935d2d657a778ab7724 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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
index c8eafa3fc7d8a6095188b02b1a97e6200d511895..6971d4cdbc31c367c093ccb16c3484ff470fc087 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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
index bca96513b5d712756d4682d969f81947170eb189..86f2d0c54e0172c3dd3bd15064d11730b58382da 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 # 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
index a5fef736cbd28a4e8ec10ef9cb51e631368b7cf3..d2ab48311743d9a75b62356347083a6e0dd198ec 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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
index 9ac1ed9e12c22abceee9a30c564ed0ce68f9f658..a8285a94981ae2f5b5f9042ab6c8a2e6ded77d49 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index 8876e3fb57fdd3320fbdb2e9b0139342401402f5..e53df14649d0519a1ff447a8e0317f7f035ab074 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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
index 05c91013a63a69fbfeeae1bbbd32f00cede57cef..c6189e3fb4ab0706107417b5649fef68c7b60088 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index b0cc07123e29d50ca104f2a4f8cf105362c0d90e..bde0eae7fb871a236b9672dc171c6d009daebea1 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index 1172717446156ee280f5993637b33a82064d0ed1..41a6ef25d6191b4eb14afbb719f94802ae2915c7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index a1d59192143dbdd19b5511a3347694434ae9b7de..eac1c45da55ec5fe4adf28c2b29e5511e3b47be4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index d0db82c01517c47f741920cccbf907f6df37d2bb..ce7696bef1a6762368a91af7c35e9e2321413e7b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index d2635c4141d47cf9170cfcbd4612c6ca6d99fe33..7c98188c4a23f89213386fc1111f299536699fdf 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index 8a3e9e964e25a5b519037e9d25fc4792147e7adc..12cee9b2353f1e7ff8f9f3d7d0b8a2bf33aa03d8 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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
index 30393814c7f0ef5cffffc86ef89d528052f09b21..1801e7be92473e5ce41cf20204f27a94686963c3 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index 3e4cfde71dad4580b02da48955181d5174d90936..008634b18954ecbd01c34206f5f3e74695aad78e 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/python3 -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
index fe940801543cfe39e72eac9f3103690f45a335a9..6c05bacc6db515e5e4759a22bdaf653807ed8878 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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
index 7205d621e7e23069ddb673ee1ae164af715d7527..44ef396c88d7df4736be3eb48026bd1251b93428 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python33 -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
index 21d97acadd4e7aa1b30bc87527837f6cce265beb..f9f2520cac10b3ef332136be2f4693c0919d59c7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python -t
+#!/usr/bin/python3 -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