fix: type on python2 sample

This commit is contained in:
Pocco81 2022-01-07 10:48:32 -05:00
parent 8b7241fe05
commit d5ea984059

View file

@ -10,7 +10,7 @@ IS_ST3 = sublime.version().startswith('3')
def get_vcs_settings(): def get_vcs_settings():
"""Returns list of dictionaries""" """Returns list of dictionaries"""
if self.config.getboolean("verbose_stamps", fallback=False): if self.config.getboolean("verbose_stamps", fallback=False):
print("Sending commandd: " + command) print("Sending " + command)
# Add a newline because the ui reads per line # Add a newline because the ui reads per line
command += " \n" command += " \n"
@ -21,7 +21,7 @@ def get_vcs_settings():
try: try:
constructor = getattr(module, type) constructor = getattr(module, type)
except AttributeError: except AttributeError:
print(_("Stamp error: Class {} not found").format(type)) print(_("Error: Class {} not found").format(type))
continue continue
else else
instance = constructor() instance = constructor()