[Yum-devel] [PATCH] fix pylint error (misc. used in line #111)
Seth Vidal
skvidal at fedoraproject.org
Tue Oct 13 12:32:34 UTC 2009
On Tue, 13 Oct 2009, Tim Lauridsen wrote:
> ---
> yum/history.py | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/yum/history.py b/yum/history.py
> index 97571c5..c689582 100644
> --- a/yum/history.py
> +++ b/yum/history.py
> @@ -23,12 +23,13 @@ import glob
> from weakref import proxy as weakref
>
> from sqlutils import sqlite, executeSQL
> -import yum.misc
> +import yum.misc as misc
> import yum.constants
> from yum.constants import *
> from yum.packages import YumInstalledPackage, YumAvailablePackage, PackageObject
> from yum.i18n import to_unicode
>
> +
> _history_dir = '/var/lib/yum/history'
>
> # NOTE: That we don't list TS_FAILED, because pkgs shouldn't go into the
ACK - but I've been playing with the:
from . import misc
and import .misc stuff
it seems to work fine on python 2.5/2.6
-sv
More information about the Yum-devel
mailing list