From e341eae7dbe94c854c8b399390c704afcbea0bd0 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Fri, 5 Mar 2010 21:27:19 +0100 Subject: Corrected typo --- portato/backend/portage/system.py | 2 +- portato/gui/dialogs.py | 2 +- portato/session.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'portato') diff --git a/portato/backend/portage/system.py b/portato/backend/portage/system.py index 7ca7b49..3aaa060 100644 --- a/portato/backend/portage/system.py +++ b/portato/backend/portage/system.py @@ -262,7 +262,7 @@ class PortageSystem (SystemInterface): if not best: return - if not best.is_installed() and (best.is_masked() or best.is_testing(True)): # check to not update unnecessairily + if not best.is_installed() and (best.is_masked() or best.is_testing(True)): # check to not update unnecessarily for i in inst: if i.matches(crit): debug("The installed %s matches %s. Discarding upgrade to masked version %s.", i.get_cpv(), crit, best.get_version()) diff --git a/portato/gui/dialogs.py b/portato/gui/dialogs.py index 281369e..6044a5b 100644 --- a/portato/gui/dialogs.py +++ b/portato/gui/dialogs.py @@ -68,7 +68,7 @@ def nothing_found_dialog (): def changed_flags_dialog (what = "flags"): check = gtk.CheckButton(_("Do not show this dialog again.")) hintMB = gtk.MessageDialog(None, gtk.DIALOG_MODAL, gtk.MESSAGE_INFO, gtk.BUTTONS_OK, _("Changed %s") % what) - hintMB.format_secondary_text(_("Portato will write these changes into the appropriate files.\nPlease backup them if you think it is necessairy.")) + hintMB.format_secondary_text(_("Portato will write these changes into the appropriate files.\nPlease backup them if you think it is necessary.")) hintMB.vbox.add(check) hintMB.vbox.show_all() ret = hintMB.run() diff --git a/portato/session.py b/portato/session.py index a8ee4c2..54761a2 100644 --- a/portato/session.py +++ b/portato/session.py @@ -124,7 +124,7 @@ class Session (object): for options, lfn, sfn, default in self._handlers: vals = sfn() - # map into list if necessairy + # map into list if necessary if not hasattr(vals, "__iter__"): vals = [vals] debug("Saving %s with values %s", options, vals) -- cgit v1.2.3-54-g00ecf