From cecde49598be38074d41377709ed080ec7c90b4d Mon Sep 17 00:00:00 2001 From: Anton Utz Date: Mon, 18 Mar 2024 10:35:17 +0100 Subject: [PATCH] deleted unnecessary attribute from pull request Signed-off-by: Anton Utz --- src/ros_license_toolkit/package.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ros_license_toolkit/package.py b/src/ros_license_toolkit/package.py index 43a46d6..9b2e972 100644 --- a/src/ros_license_toolkit/package.py +++ b/src/ros_license_toolkit/package.py @@ -88,10 +88,6 @@ def __init__(self, path: str, repo: Optional[Repo] = None): # this is Optional, because it is only evaluated on the first call self._license_tags: Optional[Dict[str, LicenseTag]] = None - # If the tag is wrong (like BSD) but the actual license can - # be found out through declaration, this field contains the tag - self.inofficial_license_tag: Dict[str, str] = {} - def _get_path_relative_to_pkg(self, path: str) -> str: """Get path relative to pkg root""" return os.path.relpath(path, self.abspath)