Skip to content

Commit

Permalink
fixing copyright extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarvalenzuelab committed Apr 13, 2023
1 parent 064feb1 commit 5add3fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions oslili/identifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 5add3fa

Please sign in to comment.