Skip to contentSkip to conversation

shell.py: Quash python warning: DeprecationWarning: the sets module is deprecated.

PATCH In review Khem Raj 1 participant 2 messages Jul 25, 2009

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 shell.py: Quash python warning: DeprecationWarning: the sets module is deprecated.

---
 lib/bb/shell.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
lib/bb/shell.py +0 -1
index 2ab855b..1e532c0 100644
@@ -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
 
Signature · 1 line
1.6.3.3
author
#1 lore raw
Quoted 17 lines · Khem Raj

---
 lib/bb/shell.py |    1 -

 1 files changed, 0 insertions(+), 1 deletions(-)
lib/bb/shell.py +0 -0
index 2ab855b..1e532c0 100644
@@ -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

Quoted 4 lines

--
1.6.3.3

wrong patch ignore it.

Thx
-Khem