Kaydet (Commit) b080e80a authored tarafından Your Name's avatar Your Name

xml parse error is vital

üst 3dedc15e
...@@ -157,7 +157,6 @@ def plan_emerge(A): ...@@ -157,7 +157,6 @@ def plan_emerge(A):
order_build = G_f.topological_sort() order_build = G_f.topological_sort()
order_build.reverse() order_build.reverse()
order_inst = inary.operations.install.plan_install_pkg_names(install_list) order_inst = inary.operations.install.plan_install_pkg_names(install_list)
return order_inst, order_build return order_inst, order_build
...@@ -712,8 +712,7 @@ class autoxml(oo.autosuper, oo.autoprop): ...@@ -712,8 +712,7 @@ class autoxml(oo.autosuper, oo.autoprop):
return value return value
else: else:
if req == mandatory: if req == mandatory:
errs.append( raise Exception(_('Mandatory token {} not available.').format(token)+"\n {}".format(where))
where + ': ' + _('Mandatory token {} not available.').format(token))
return None return None
def encode(node, value, errs): def encode(node, value, errs):
...@@ -722,9 +721,7 @@ class autoxml(oo.autosuper, oo.autoprop): ...@@ -722,9 +721,7 @@ class autoxml(oo.autosuper, oo.autoprop):
writetext(node, token, str(value)) writetext(node, token, str(value))
else: else:
if req == mandatory: if req == mandatory:
errs.append( raise Exception(_('Mandatory token {} not available.').format(token)+"\n {}".format(value))
_('Mandatory token {} not available.').format(token))
def errors(value, where): def errors(value, where):
errs = [] errs = []
if value and not isinstance(value, token_type): if value and not isinstance(value, token_type):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment