summaryrefslogtreecommitdiffstats
path: root/module/lib/BeautifulSoup.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-30 16:20:37 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-30 16:20:37 +0100
commitf96a5a1cf8800edc2f6a6d73316f7d7c67f32e29 (patch)
tree3081be7874ac1594e1ab4b9c58f2de503acac0b5 /module/lib/BeautifulSoup.py
parentfixed ssl xmlrpc backend (diff)
downloadpyload-f96a5a1cf8800edc2f6a6d73316f7d7c67f32e29.tar.xz
cleanup code
Diffstat (limited to 'module/lib/BeautifulSoup.py')
-rw-r--r--module/lib/BeautifulSoup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/lib/BeautifulSoup.py b/module/lib/BeautifulSoup.py
index 748e6fe4b..55567f588 100644
--- a/module/lib/BeautifulSoup.py
+++ b/module/lib/BeautifulSoup.py
@@ -1295,7 +1295,7 @@ class BeautifulStoneSoup(Tag, SGMLParser):
"""
nestingResetTriggers = self.NESTABLE_TAGS.get(name)
- isNestable = nestingResetTriggers != None
+ isNestable = nestingResetTriggers is not None
isResetNesting = self.RESET_NESTING_TAGS.has_key(name)
popTo = None
inclusive = True