Skip to content

Commit

Permalink
Remove support for '_Namespaces[None] =', apparently unneeded.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed May 18, 2024
1 parent 65d1ba8 commit a3a515d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cssutils/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,8 +801,6 @@ def __len__(self):

def __setitem__(self, prefix, namespaceURI):
"replaces prefix or sets new rule, may raise NoModificationAllowedErr"
if not prefix:
prefix = '' # None or ''
rule = self.__findrule(prefix)
if not rule:
self.parentStyleSheet.insertRule(
Expand Down

0 comments on commit a3a515d

Please sign in to comment.