Fix whitespace

This commit is contained in:
ines 2017-04-15 12:13:45 +02:00
parent e1efd589c3
commit 35fb4febe2
2 changed files with 0 additions and 4 deletions

View File

@ -18,7 +18,6 @@ def info(model=None, markdown=False):
else:
data['source'] = str(model_path)
print_info(data, "model " + model, markdown)
else:
data = get_spacy_data()
print_info(data, "spaCy", markdown)
@ -26,10 +25,8 @@ def info(model=None, markdown=False):
def print_info(data, title, markdown):
title = "Info about {title}".format(title=title)
if markdown:
util.print_markdown(data, title=title)
else:
util.print_table(data, title=title)

View File

@ -21,7 +21,6 @@ def link_package(package_name, link_name, force=False):
# Python's installation and import rules are very complicated.
pkg = importlib.import_module(package_name)
package_path = Path(pkg.__file__).parent.parent
meta = get_meta(package_path, package_name)
model_name = package_name + '-' + meta['version']
model_path = package_path / package_name / model_name