Skip to content

Commit

Permalink
Release version 0.0.0.dev13
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Oct 22, 2024
1 parent 3c32ee4 commit a5a72b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev12"
version = "0.0.0.dev13"
name = "LicenseMan"
requires-python = ">=3.10"
dependencies = [
Expand Down
6 changes: 3 additions & 3 deletions src/licenseman/spdx/license.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ def header_html(self) -> str | None:
return self._data.get("standardLicenseHeaderHtml")

@property
def header_xml(self) -> _ElementTree.Element:
def header_xml(self) -> _ElementTree.Element | None:
return self._xml.find('.//standardLicenseHeader', self._ns)

@property
def header_xml_str(self) -> str:
return self._xml_str(self.header_xml)
def header_xml_str(self) -> str | None:
return self._xml_str(self.header_xml) if self.header_xml else None

@property
def cross_refs(self) -> list[SPDXLicenseCrossRef]:
Expand Down

0 comments on commit a5a72b3

Please sign in to comment.