Skip to content

Commit

Permalink
pyproject: remove obsolete beautifulsoup4 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislaw committed Feb 8, 2023
1 parent 4beea90 commit 6922d88
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ keywords = [

[tool.poetry.dependencies]
python = "^3.6.2"
beautifulsoup4 = '>= 4.9.3'
lxml = '>= 4.6.2'
jinja2 = ">= 2.11.2"
toml = ">= 0.10.2"
Expand Down
4 changes: 1 addition & 3 deletions reqif/commands/anonymize/anonymize.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,4 @@ def _anonymize_attribute(attribute):
if attribute.attribute_type == SpecObjectAttributeType.STRING:
attribute.value = ANONYMIZED
elif attribute.attribute_type == SpecObjectAttributeType.XHTML:
attribute.value = (
f"<xhtml:div>{ANONYMIZED}</xhtml:div>"
)
attribute.value = f"<xhtml:div>{ANONYMIZED}</xhtml:div>"

0 comments on commit 6922d88

Please sign in to comment.