Changes between Version 1 and Version 2 of YumCodeSnippet/FindFileOwner

Show
Ignore:
Author:
james (IP: 65.172.155.230)
Timestamp:
02/02/09 17:57:37 (9 years ago)
Comment:

change my to yb, for consistency

Legend:

Unmodified
Added
Removed
Modified
  • YumCodeSnippet/FindFileOwner

    v1 v2  
    22{{{ 
    33#!python 
    4 my = yum.YumBase() 
    5 pkgs = my.rpmdb.whatProvides('/boot/vmlinuz-2.6.23.9-85.fc8', None, (None, None,None)) 
     4yb = yum.YumBase() 
     5pkgs = yb.rpmdb.whatProvides('/boot/vmlinuz-2.6.23.9-85.fc8', None, (None, None,None)) 
    66for pkg in pkgs: 
    77    print pkg