/[smeserver]/rpms/anaconda/sme8/anaconda-11.1.2.87-smeserver.patch
ViewVC logotype

Diff of /rpms/anaconda/sme8/anaconda-11.1.2.87-smeserver.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4 by slords, Sat Mar 15 18:10:59 2008 UTC Revision 1.5 by slords, Sun Mar 16 18:25:42 2008 UTC
# Line 217  Line 217 
217    
218       dosync()       dosync()
219    
220    --- anaconda-11.1.2.87/fedorakmod.py.sme2       2007-08-07 14:45:51.000000000 -0600
221    +++ anaconda-11.1.2.87/fedorakmod.py    2008-03-16 12:21:33.000000000 -0600
222    @@ -27,6 +27,9 @@
223     from yum.constants import TS_INSTALL
224     from yum.plugins import TYPE_CORE, PluginYumExit
225    
226    +import logging
227    +log = logging.getLogger("anaconda")
228    +
229     requires_api_version = '2.4'
230     plugin_type = (TYPE_CORE,)
231    
232    @@ -118,10 +121,10 @@
233             kernel = ImmutableSet(getKernelReqs(po))
234             kernelReqs = kernel.intersection(kernelProvides)
235             if len(kernel) == 0:
236    -            print "Bad kmod package '%s' does not require a kernel" % po
237    +            log.warning("Bad kmod package '%s' does not require a kernel" % po)
238                 continue
239             elif len(kernelReqs) > 1:
240    -            print "Bad kmod package: Must require only one kernel"
241    +            log.warning("Bad kmod package: Must require only one kernel")
242                 continue
243    
244             # Figure out the real name of this kmod
245    @@ -133,7 +136,7 @@
246                 # Yum bug
247                 name = fakeName(po)
248             elif len(name) != 1:
249    -            print "Non compliant kmod package: %s" % po
250    +            log.warning("Non compliant kmod package: %s" % po)
251                 continue
252             po.kmodName = name[0]
253    
254  --- anaconda-11.1.2.87/findpackageset.py.smeserver      2005-02-08 07:37:30.000000000 -0700  --- anaconda-11.1.2.87/findpackageset.py.smeserver      2005-02-08 07:37:30.000000000 -0700
255  +++ anaconda-11.1.2.87/findpackageset.py        2007-12-20 13:05:57.000000000 -0700  +++ anaconda-11.1.2.87/findpackageset.py        2007-12-20 13:05:57.000000000 -0700
256  @@ -108,21 +108,15 @@  @@ -108,21 +108,15 @@


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed