[yum-cvs] yum/yum __init__.py, 1.264, 1.265 depsolve.py, 1.107, 1.108 packageSack.py, 1.22, 1.23 repos.py, 1.102, 1.103

James Bowes jbowes at linux.duke.edu
Tue Dec 19 03:43:34 UTC 2006


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv9833/yum

Modified Files:
	__init__.py depsolve.py packageSack.py repos.py 
Log Message:
Remove a bunch of unused imports

Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.264
retrieving revision 1.265
diff -u -r1.264 -r1.265
--- __init__.py	28 Nov 2006 22:21:27 -0000	1.264
+++ __init__.py	19 Dec 2006 03:43:31 -0000	1.265
@@ -1459,8 +1459,6 @@
            more than one response - right now it's more rudimentary."""
            
         
-        (n,a,e,v,r) = pkgtup
-        
         # look it up in the self.localPackages first:
         for po in self.localPackages:
             if po.pkgtup == pkgtup:

Index: depsolve.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/depsolve.py,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- depsolve.py	5 Dec 2006 00:40:51 -0000	1.107
+++ depsolve.py	19 Dec 2006 03:43:31 -0000	1.108
@@ -25,7 +25,6 @@
 import rpm
 
 from packageSack import ListPackageSack
-from Errors import DepError, RepoError, PackageSackError
 from constants import *
 import packages
 import logginglevels

Index: packageSack.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/packageSack.py,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- packageSack.py	5 Dec 2006 00:40:51 -0000	1.22
+++ packageSack.py	19 Dec 2006 03:43:31 -0000	1.23
@@ -15,10 +15,7 @@
 # Copyright 2006 Duke University
 
 from Errors import PackageSackError
-from rpmUtils import miscutils
-from packages import YumInstalledPackage
 import warnings
-import misc
 import re
 import fnmatch
 

Index: repos.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/repos.py,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- repos.py	25 Oct 2006 06:08:31 -0000	1.102
+++ repos.py	19 Dec 2006 03:43:31 -0000	1.103
@@ -14,15 +14,12 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 # Copyright 2004 Duke University 
 
-import os
-import os.path
 import re
 import fnmatch
 import types
 
 import Errors
 from packageSack import MetaSack
-from packages import YumAvailablePackage
 
 _is_fnmatch_pattern = re.compile(r"[*?[]").search
 




More information about the Yum-cvs-commits mailing list