Loading pyproject.toml +1 −1 Changes for pyproject.toml: 1 added line, 1 removed line. Original line number Diff line number Diff line [project] name = "climax-CERTIC" version = "0.1.6" version = "0.1.7" description = "CLI tool for MaX, Le Moteur d'Affichage XML." readme = "README.md" license = {text = "CECILL-C"} Loading src/climax/__main__.py +5 −3 Changes for src/climax/__main__.py: 5 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ class MaXProjectConfig: conf = self.xml_soup.find("configuration") nodes = conf.find("bundles") if not nodes: nodes = self.xml_soup.new_tag("languages") nodes = self.xml_soup.new_tag("bundles") conf.append(nodes) nodes.clear() for bundle_name, bundle_dict in bundles.items(): Loading Loading @@ -788,7 +788,6 @@ def bundles_add(bundle_name: str): if bundle_name.endswith(".zip") and Path(bundle_name).is_file(): from_archive = bundle_name bundle_name = os.path.splitext(os.path.basename(bundle_name))[0] print(bundle_name, from_archive) if from_archive is not None: # todo install from archive if type(from_archive) is str: from_archive = Path(from_archive) Loading Loading @@ -832,7 +831,10 @@ def bundles_add(bundle_name: str): if available_bundle_name == bundle_name: if available_bundle["vocabulary"]: config.vocabulary_bundle = bundle_name current_bundles_config[bundle_name] = available_bundle["url"] current_bundles_config[bundle_name] = { "name": bundle_name, "url": available_bundle["url"], } config.bundles = current_bundles_config config.write() _sync_max_instance(os.getcwd(), verbose=False) Loading Loading
pyproject.toml +1 −1 Changes for pyproject.toml: 1 added line, 1 removed line. Original line number Diff line number Diff line [project] name = "climax-CERTIC" version = "0.1.6" version = "0.1.7" description = "CLI tool for MaX, Le Moteur d'Affichage XML." readme = "README.md" license = {text = "CECILL-C"} Loading
src/climax/__main__.py +5 −3 Changes for src/climax/__main__.py: 5 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -235,7 +235,7 @@ class MaXProjectConfig: conf = self.xml_soup.find("configuration") nodes = conf.find("bundles") if not nodes: nodes = self.xml_soup.new_tag("languages") nodes = self.xml_soup.new_tag("bundles") conf.append(nodes) nodes.clear() for bundle_name, bundle_dict in bundles.items(): Loading Loading @@ -788,7 +788,6 @@ def bundles_add(bundle_name: str): if bundle_name.endswith(".zip") and Path(bundle_name).is_file(): from_archive = bundle_name bundle_name = os.path.splitext(os.path.basename(bundle_name))[0] print(bundle_name, from_archive) if from_archive is not None: # todo install from archive if type(from_archive) is str: from_archive = Path(from_archive) Loading Loading @@ -832,7 +831,10 @@ def bundles_add(bundle_name: str): if available_bundle_name == bundle_name: if available_bundle["vocabulary"]: config.vocabulary_bundle = bundle_name current_bundles_config[bundle_name] = available_bundle["url"] current_bundles_config[bundle_name] = { "name": bundle_name, "url": available_bundle["url"], } config.bundles = current_bundles_config config.write() _sync_max_instance(os.getcwd(), verbose=False) Loading