title: Install RPM package with Python Yum API with --downloadonly
body: <p>I am trying to install/download an RPM package through the Yum API with Python. But I am not able to supply the <code>--downloadonly</code> option, it seems to be ignored by the <code>install</code> method.</p>
  
  <p>Here is my code so far:</p>
  
  <pre><code>import yum
  
  yb = yum.YumBase()
  args = {"name":"git", "downloadonly": True}
  yb.install(**args)
  yb.processDeps()
  yb.buildTransaction()
  yb.processTransaction()
  </code></pre>
  
  <p>This will install the package on the system, but not honor the <code>downloadonly</code> option.</p>
  
  <p>What is the proper way of telling Yum to only download a package through the Python Yum API?</p>