Changes between Version 1 and Version 2 of YumCodeSnippet/SimplestTransaction

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

change my to yb, for consistency

Legend:

Unmodified
Added
Removed
Modified
  • YumCodeSnippet/SimplestTransaction

    v1 v2  
    44{{{ 
    55#!python 
    6 my = yum.YumBase() 
    7 my.install(name='somepackage') 
    8 my.remove(name='someotherpackage') 
    9 my.resolveDeps() 
    10 my.processTransaction() 
     6yb = yum.YumBase() 
     7yb.install(name='somepackage') 
     8yb.remove(name='someotherpackage') 
     9yb.resolveDeps() 
     10yb.processTransaction() 
    1111}}}