Bug 145366 - yumRepo.py calls undefined function '_'
Summary: yumRepo.py calls undefined function '_'
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: up2date
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Fanny Augustin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-17 19:44 UTC by Nalin Dahyabhai
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-01-17 22:15:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.