Export rpmteFailed() to python bindings
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 16 Jun 2011 05:48:57 +0000 (08:48 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 16 Jun 2011 05:55:10 +0000 (08:55 +0300)
commita324a53527e4ecacabc33a73cfcb4c572aaefa2d
treec5867171d35282c436c132a56c63afe53f5fd127
parent2f6bfc99d01df941f6aaad8497150f82eeb75311
Export rpmteFailed() to python bindings

- Kinda related to RhBug:661962, yum relies on callbacks to catch
  install/erase errors but this is not accurate: on erase the
  element can be ambiguous as the callback only gives a name (sigh).
  In addition, elements can be skipped entirely if "parent" element
  fails, in which case no callbacks are issued so these cases would go
  completely unnoticed when relying on callbacks alone. te.Failed()
  gives users such as yum a chance to have a look at the real status
  of elements (after the transaction).
python/rpmte-py.c