Bug 145366

Summary: yumRepo.py calls undefined function '_'
Product: [Fedora] Fedora Reporter: Nalin Dahyabhai <nalin>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED NEXTRELEASE QA Contact: Fanny Augustin <fmoquete>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-17 22:15:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nalin Dahyabhai 2005-01-17 19:44:43 UTC
Description of problem:
If there's an error downloading a header for a yum repository, up2date
will attempt to print a translated error, but because it has not
imported the string translation function.  Based on other modules,
adding this to the top should fix it:
  from rhpl.translate import _, N_

Version-Release number of selected component (if applicable):
4.3.69-1

How reproducible:
Always

Steps to Reproduce:
1. Configure up2date to use yum repository
http://fedoraproject.org/pre-extras/3/i386/
2. Attempt to install a package from the repository which requires at
least one other package from the repository.
3. A bogus entry in the header.info file will trigger the error.
  
Actual results:


Expected results:


Additional info:

Comment 1 Adrian Likins 2005-01-17 22:15:52 UTC
already fixed in 4.4.x