fixing fstring

This commit is contained in:
trhr 2020-04-16 06:14:03 -05:00
parent 518c21e661
commit f088207091
9 changed files with 18 additions and 18 deletions

View file

@ -184,7 +184,7 @@ def import_cmdset(path, cmdsetobj, emit_to_obj=None, no_logging=False):
raise exc.with_traceback(tb)
else:
# try next suggested path
errstring += _("\n(Unsuccessfully tried '{path}').".format(path=python_path))
errstring += _("\n(Unsuccessfully tried '{path}').").format(path=python_path)
continue
try:
cmdsetclass = getattr(module, classname)
@ -194,7 +194,7 @@ def import_cmdset(path, cmdsetobj, emit_to_obj=None, no_logging=False):
dum, dum, tb = sys.exc_info()
raise exc.with_traceback(tb)
else:
errstring += _("\n(Unsuccessfully tried '{path}').".format(path=python_path))
errstring += _("\n(Unsuccessfully tried '{path}').").format(path=python_path)
continue
_CACHED_CMDSETS[python_path] = cmdsetclass