We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64acdd commit 0d8804aCopy full SHA for 0d8804a
etc/scripts/licenses/buildrules.py
@@ -79,7 +79,7 @@ def load_data(location="00-new-licenses.txt"):
79
Load rules metadata and text from file at ``location``. Return a list of
80
RuleData.
81
"""
82
- with io.open(location, encoding="utf-8") as o:
+ with open(location) as o:
83
lines = o.read().splitlines(False)
84
85
rules = []
@@ -262,7 +262,7 @@ def cli(licenses_file):
262
print(existing_msg.format(**locals()))
263
continue
264
else:
265
- print(f"Adding new rule: {identifier}")
+ print(f"Adding new rule: file://{identifier}")
266
rl = models.update_ignorables(rulerec, verbose=False)
267
rl.dump(rules_data_dir=models.rules_data_dir)
268
0 commit comments