Commit 2b436665 authored by Nico Alt's avatar Nico Alt

Make lint happy

parent 23d84bb9
Pipeline #4239 passed with stage
in 2 minutes and 32 seconds
......@@ -16,4 +16,6 @@ class Container(Gtk.Overlay):
self.builder = Gtk.Builder()
def _add_from_resource(self, ui_filename):
self.builder.add_from_resource(os.path.join(RESOURCES_DIR, ui_filename))
self.builder.add_from_resource(
os.path.join(RESOURCES_DIR, ui_filename)
)
......@@ -140,6 +140,7 @@ class RegistrationContainer(Container):
error_label = self.builder.get_object("passwords_error_label")
self._show_error_message(error_label, error_message)
def _show_error_message(self, error_label, error_message):
@staticmethod
def _show_error_message(error_label, error_message):
error_label.set_label(error_message)
error_label.show()
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