[yum-cvs] yum/yum storagefactory.py,1.4,1.5
James Bowes
jbowes at linux.duke.edu
Thu Nov 23 02:03:25 UTC 2006
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv12745/yum
Modified Files:
storagefactory.py
Log Message:
Only catch ImportError in storagefactory
Index: storagefactory.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/storagefactory.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- storagefactory.py 25 Oct 2006 06:08:31 -0000 1.4
+++ storagefactory.py 23 Nov 2006 02:03:23 -0000 1.5
@@ -75,13 +75,13 @@
try:
storage = StorageSqliteC()
return storage
- except:
+ except ImportError:
pass
try:
storage = StorageSqlite()
return storage
- except:
+ except ImportError:
pass
raise Errors.YumBaseError, 'Could not find any working storages.'
More information about the Yum-cvs-commits
mailing list