[PATCH 2/2] Fix a typo: inital -> initial

Martin Kolman mkolman at redhat.com
Tue Jul 15 12:54:38 UTC 2014


Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 pyanaconda/ui/tui/simpleline/base.py    | 2 +-
 pyanaconda/users.py                     | 2 +-
 tests/pyanaconda_tests/timezone_test.py | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/ui/tui/simpleline/base.py b/pyanaconda/ui/tui/simpleline/base.py
index 89e9da9..1f839c9 100644
--- a/pyanaconda/ui/tui/simpleline/base.py
+++ b/pyanaconda/ui/tui/simpleline/base.py
@@ -311,7 +311,7 @@ class App(object):
         # ask for redraw by default
         self._redraw = True
 
-        # inital state
+        # initial state
         last_screen = None
         error_counter = 0
 
diff --git a/pyanaconda/users.py b/pyanaconda/users.py
index 5cb884b..e48c766 100644
--- a/pyanaconda/users.py
+++ b/pyanaconda/users.py
@@ -181,7 +181,7 @@ def guess_username(fullname):
     else:
         username = u""
 
-    # and prefix it with the first name inital
+    # and prefix it with the first name initial
     if len(fullname) > 1:
         username = fullname[0].decode("utf-8")[0].lower() + username
 
diff --git a/tests/pyanaconda_tests/timezone_test.py b/tests/pyanaconda_tests/timezone_test.py
index 3d0d819..26084d5 100644
--- a/tests/pyanaconda_tests/timezone_test.py
+++ b/tests/pyanaconda_tests/timezone_test.py
@@ -67,7 +67,7 @@ class s390HWclock(unittest.TestCase):
         timezone.save_hw_clock(mock.Mock())
         self.assertFalse(self.iutil_mock.execWithRedirect.called)
 
-    def s390_time_initalize_test(self):
+    def s390_time_initialize_test(self):
         """Check that time_initialize doesn't call hwclock on s390."""
 
         timezone.time_initialize(mock.Mock(), mock.Mock(), mock.Mock())
-- 
1.9.3



More information about the anaconda-patches mailing list