Addon Manager: Minor fixes and error tweaks

* Correct display of tags in list view
* Add error checking for branch name and url match
* Convert some messages to logs
This commit is contained in:
Chris Hennes
2022-02-23 17:05:08 -06:00
parent d88397f3d6
commit e7ca40623c
4 changed files with 42 additions and 9 deletions

View File

@@ -158,7 +158,7 @@ class Macro(object):
# to apply some special handling to accepts numbers, and "__date__"
if key == "__version__":
if "__date__" in after_equals.lower():
FreeCAD.Console.PrintMessage(
FreeCAD.Console.PrintLog(
translate(
"AddonsInstaller",
"In macro {}, string literal not found for {} element. Guessing at intent and using string from date element.",
@@ -168,7 +168,7 @@ class Macro(object):
self.version = self.date
break
elif is_float(after_equals):
FreeCAD.Console.PrintMessage(
FreeCAD.Console.PrintLog(
translate(
"AddonsInstaller",
"In macro {}, string literal not found for {} element. Guessing at intent and using string representation of contents.",