From 5add3fa21e5ae1f1c20a18b66d32c1b5046cc1a7 Mon Sep 17 00:00:00 2001 From: oscarvalenzuelab Date: Thu, 13 Apr 2023 11:44:31 -0700 Subject: [PATCH] fixing copyright extraction --- oslili/identifier.py | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/oslili/identifier.py b/oslili/identifier.py index a4dcc8f..34f25d4 100644 --- a/oslili/identifier.py +++ b/oslili/identifier.py @@ -97,9 +97,9 @@ def identify_copyright(self, text): if year_range: statement = self.identify_statement(line, year_range) return year_range, statement - else: - statement = self.identify_statement(line, '') - return None, statement + # else: + # statement = self.identify_statement(line, '') + # return None, statement return None, None diff --git a/setup.py b/setup.py index a93b1da..365c147 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages setup( - name="oslili", version="0.2", + name="oslili", version="0.3", description="Open Source License Identification Library", author="Oscar Valenzuela", author_email="oscar.valenzuela.b@gmail.com",