[Yum-devel] [PATCH] Fix logger calls in yumRepo, atm. we traceback
Seth Vidal
skvidal at fedoraproject.org
Wed Sep 30 18:51:57 UTC 2009
On Wed, 30 Sep 2009, James Antill wrote:
> ---
> yum/yumRepo.py | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/yum/yumRepo.py b/yum/yumRepo.py
> index 2bc7476..808e3a7 100644
> --- a/yum/yumRepo.py
> +++ b/yum/yumRepo.py
> @@ -387,7 +387,7 @@ class YumRepository(Repository, config.RepoConf):
> config.writeRawRepoFile(self,only=['enabled'])
> except IOError, e:
> if e.errno == errno.EACCES:
> - self.logger.warning(e)
> + logger.warning(e)
> else:
> raise IOError, str(e)
>
> @@ -398,7 +398,7 @@ class YumRepository(Repository, config.RepoConf):
> config.writeRawRepoFile(self,only=['enabled'])
> except IOError, e:
> if e.errno == errno.EACCES:
> - self.logger.warning(e)
> + logger.warning(e)
> else:
> raise IOError, str(e)
>
Ack - did you find this messing with the enable/disable permanent stuff?
-sv
More information about the Yum-devel
mailing list