mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Redundant isinstance() check
This commit is contained in:
parent
cfbec65804
commit
fdfed12489
@ -37,7 +37,6 @@ class StyleDeclaration(object):
|
|||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
dec = self.css_declaration
|
dec = self.css_declaration
|
||||||
for p in all_properties(dec):
|
for p in all_properties(dec):
|
||||||
if isinstance(p, Property):
|
|
||||||
n = normalizers.get(p.name)
|
n = normalizers.get(p.name)
|
||||||
if n is None:
|
if n is None:
|
||||||
yield p, None
|
yield p, None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user