[Yum-devel] [yum-commits] Branch 'yum-3_2_X' - 3 commits - yum/__init__.py yum/packages.py
Seth Vidal
skvidal at fedoraproject.org
Sat Jun 20 03:53:07 UTC 2009
On Fri, 19 Jun 2009, James Antill wrote:
> if not hasattr(self, thing):
> raise AttributeError, "%s has no attribute %s" % (self, thing)
> - return self.hdr[thing]
> + try:
> + return self.hdr[thing]
> + except KeyError:
> + raise AttributeError, "%s has no attribute %s" % (self, thing)
I'm pretty sure we didn't commit this before to 3.2.X b/c it is an API
break, sadly.
-sv
More information about the Yum-devel
mailing list