From 9bf18900c05547a40bb3c3a7a819a137e81dae92 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Tue, 27 Dec 2016 22:24:37 +0100 Subject: o Adding a 'db-stats' application for summarizing the contents of the database. o Starting on make-bom. Extremely slow when using rdflib (~8 minutes), jena is very fast (~50 ms). --- trygvis/eda/cli/digikey_download_attribute_types_for_category.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'trygvis/eda/cli/digikey_download_attribute_types_for_category.py') diff --git a/trygvis/eda/cli/digikey_download_attribute_types_for_category.py b/trygvis/eda/cli/digikey_download_attribute_types_for_category.py index aef360c..1a33ab1 100644 --- a/trygvis/eda/cli/digikey_download_attribute_types_for_category.py +++ b/trygvis/eda/cli/digikey_download_attribute_types_for_category.py @@ -11,12 +11,12 @@ def run(category, sub_category, output_file, args): c = db.find_category(category) if c is None: - cli.exit("Could not find category \"%s\"" % category) + cli.do_exit("Could not find category \"%s\"" % category) sc = c.find_sub_category_by_label(sub_category) if c is None: - cli.exit("Could not find sub-category \"%s\" inside \"%s\"" % (sub_category, category)) + cli.do_exit("Could not find sub-category \"%s\" inside \"%s\"" % (sub_category, category)) attributes = download_attribute_types_from_category(sc, client) db.merge_attribute_types(attributes) -- cgit v1.2.3