Changes between Version 1 and Version 2 of YumCodeSnippet/FindFileOwner
- Timestamp:
- 02/02/09 17:57:37 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
YumCodeSnippet/FindFileOwner
v1 v2 2 2 {{{ 3 3 #!python 4 my= yum.YumBase()5 pkgs = my.rpmdb.whatProvides('/boot/vmlinuz-2.6.23.9-85.fc8', None, (None, None,None))4 yb = yum.YumBase() 5 pkgs = yb.rpmdb.whatProvides('/boot/vmlinuz-2.6.23.9-85.fc8', None, (None, None,None)) 6 6 for pkg in pkgs: 7 7 print pkg