[oe] [PATCH] shell.py: Quash python warning: DeprecationWarning: the sets module is deprecated.

Khem Raj raj.khem at gmail.com
Sat Jul 25 18:45:56 UTC 2009


On Sat, Jul 25, 2009 at 10:53 AM, Khem Raj<raj.khem at gmail.com> wrote:
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  lib/bb/shell.py |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/lib/bb/shell.py b/lib/bb/shell.py
> index 2ab855b..1e532c0 100644
> --- a/lib/bb/shell.py
> +++ b/lib/bb/shell.py
> @@ -55,7 +55,6 @@ PROBLEMS:
>  try:
>     set
>  except NameError:
> -    from sets import Set as set
>  import sys, os, readline, socket, httplib, urllib, commands, popen2, copy, shlex, Queue, fnmatch
>  from bb import data, parse, build, fatal, cache, taskdata, runqueue, providers as Providers
>
> --
> 1.6.3.3
>
>

wrong patch ignore it.

Thx
-Khem




More information about the Openembedded-devel mailing list