From 0534ef1d7297932c6a8350a4f384c9c24c4a119c Mon Sep 17 00:00:00 2001 From: Ryan Harper Date: Fri, 20 Nov 2015 16:05:23 -0600 Subject: [PATCH] cleanup identity ux and lint fixes - fix make check - Forgot colon after Confirm your password Signed-off-by: Ryan Harper --- subiquity/ui/views/identity.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subiquity/ui/views/identity.py b/subiquity/ui/views/identity.py index 78749afe..70ef8d5d 100644 --- a/subiquity/ui/views/identity.py +++ b/subiquity/ui/views/identity.py @@ -44,11 +44,11 @@ class IdentityView(ViewPolicy): self.signal = signal self.items = [] self.realname = RealnameEditor(caption="") - self.hostname = UsernameEditor(caption="") # no spaces or special chars + self.hostname = UsernameEditor(caption="") self.username = UsernameEditor(caption="") self.password = PasswordEditor(caption="") self.ssh_import_id = StringEditor(caption="") - self.ssh_import_confirmed = True # set to false require user validation + self.ssh_import_confirmed = True self.error = Text("", align="center") self.confirm_password = PasswordEditor(caption="") @@ -121,7 +121,7 @@ class IdentityView(ViewPolicy): ), Columns( [ - ("weight", 0.2, Text("Confirm your password", + ("weight", 0.2, Text("Confirm your password:", align="right")), ("weight", 0.3, Color.string_input(self.confirm_password,