Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo User (http://www.linux-archive.org/gentoo-user/)
-   -   Fix some error handler method name typos. (http://www.linux-archive.org/gentoo-user/664895-fix-some-error-handler-method-name-typos.html)

David Lehman 05-09-2012 08:43 PM

Fix some error handler method name typos.
 
---
pyanaconda/errors.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/errors.py b/pyanaconda/errors.py
index 5217a63..19003f8 100644
--- a/pyanaconda/errors.py
+++ b/pyanaconda/errors.py
@@ -172,7 +172,7 @@ class ErrorHandler(object):
else:
return ERROR_RAISE

- def mediaUnmountHandler(self, *args, **kwargs):
+ def _mediaUnmountHandler(self, *args, **kwargs):
device = args[0]
message = _("An error occurred unmounting the disc. "
"Please make sure you're not accessing "
@@ -180,7 +180,7 @@ class ErrorHandler(object):
"and then click OK to retry.") % device.path
self.ui.showError(message)

- def noSuchGroupHandler(self, *args, **kwargs):
+ def _noSuchGroupHandler(self, *args, **kwargs):
group = args[0]
message = _("You have specified that the group '%s' should be "
"installed. This group does not exist. Would you like "
@@ -191,7 +191,7 @@ class ErrorHandler(object):
else:
return ERROR_RAISE

- def noSuchPackageHandler(self, *args, **kwargs):
+ def _noSuchPackageHandler(self, *args, **kwargs):
package = args[0]
message = _("You have specified that the package '%s' should be "
"installed. This package does not exist. Would you "
--
1.7.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

Chris Lumens 05-09-2012 08:48 PM

Fix some error handler method name typos.
 
> pyanaconda/errors.py | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)

I already got this with 170eb61b56b1df4a92ad1ff3cf4b7d95e5509bbd.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 08:48 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.