20 lines
892 B
Diff
20 lines
892 B
Diff
commit 16bea44b16fd8b1ac36cc5939caf1017eece12eb
|
|
Author: Richard Hughes <richard@hughsie.com>
|
|
Date: Tue Sep 23 14:43:31 2008 +0100
|
|
|
|
yum: fix the name of the enum when no mirrors are found
|
|
|
|
diff --git a/backends/yum/yumBackend.py b/backends/yum/yumBackend.py
|
|
index b445e0d..8a29917 100755
|
|
--- a/backends/yum/yumBackend.py
|
|
+++ b/backends/yum/yumBackend.py
|
|
@@ -915,7 +915,7 @@ class PackageKitYumBackend(PackageKitBaseBackend,PackagekitPackage):
|
|
except yum.Errors.RepoError,e:
|
|
message = self._format_msgs(e.value)
|
|
if message.find ("No more mirrors to try") != -1:
|
|
- self.error(ERROR_FILE_NO_MORE_MIRRORS_TO_TRY,message)
|
|
+ self.error(ERROR_NO_MORE_MIRRORS_TO_TRY,message)
|
|
else:
|
|
self.error(ERROR_REPO_CONFIGURATION_ERROR,message)
|
|
except yum.Errors.YumBaseError,e:
|