Bug 477075 - yum-complete-transaction: global name 'os' is not defined
Summary: yum-complete-transaction: global name 'os' is not defined
Keywords:
Status: CLOSED DUPLICATE of bug 470458
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-18 23:18 UTC by Andrew Bartlett
Modified: 2014-01-21 23:07 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-19 03:19:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Bartlett 2008-12-18 23:18:51 UTC
Description of problem:
At the end of yum-complete-transaction the script aborts with a python syntax error


Version-Release number of selected component (if applicable):
rpm -q python yum
python-2.6-2.fc11.x86_64
yum-3.2.20-7.fc11.noarch


How reproducible:
Every time

Steps to Reproduce:
1. Intrrupt a yum transaction
2. Run 'yum-complete-transaction'
3. wait for transaction to complete
  
Actual results:
Cleaning up completed transaction file
Traceback (most recent call last):
  File "/usr/sbin/yum-complete-transaction", line 208, in <module>
    util = YumCompleteTransaction()
  File "/usr/sbin/yum-complete-transaction", line 115, in __init__
    self.main()
  File "/usr/sbin/yum-complete-transaction", line 189, in main
    self.clean_up_ts_files(timestamp, self.conf.persistdir)
  File "/usr/sbin/yum-complete-transaction", line 123, in clean_up_ts_files
    if os.path.exists(f):
NameError: global name 'os' is not defined


Expected results:
yum-complete-tranaction should complete

Additional info:

Comment 1 seth vidal 2008-12-19 03:19:33 UTC

*** This bug has been marked as a duplicate of bug 470458 ***


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