Task #497
closedbuilder.py --update-tag-package-list is not Python 2.6 compatible
0%
Description
Description of problem:
builder.py seems to be using a feature that was new in Python 2.7:
$ ./builder.py --update-tag-package-list 2.4 beta
Traceback (most recent call last):
File "./builder.py", line 531, in <module>
add_packages_to_tag(build_tag)
File "./builder.py", line 482, in add_packages_to_tag
result = str(subprocess.check_output(command, shell=True))
AttributeError: 'module' object has no attribute 'check_output'
Version-Release number of selected component (if applicable):
2.4.1-0.2.alpha
How reproducible:
very
Steps to Reproduce:
1. ./builder.py --update-tag-package-list 2.4 beta
Actual results:
Traceback!
Expected results:
Tags should have been updated.
Additional info:
+ This bug was cloned from Bugzilla Bug #1133146 +
Updated by cduryee over 9 years ago
I think bcourt refactored a lot of this, and I don't think it is common to attempt builds on Python 2.6. Is this still needed?
Updated by rbarlow over 9 years ago
On 03/04/2015 01:45 PM, cduryee wrote:
I think bcourt refactored a lot of this, and I don't think it is common
to attempt builds on Python 2.6. Is this still needed?
I sometimes use EL 6 as a dev environment, which was why I filed this
bug in the first place. However, now that I think about it and consider
that I'm probably the only person that does that, it's probably not
worth worrying about. So if you want, we can close this.
Added by Matt Jia almost 3 years ago
Added by Matt Jia almost 3 years ago
Revision 6e4d1400 | View on GitHub
Fixes #497 - local variable 'item' referenced before assignment
(cherry picked from commit 72a632553cf131b5aa20f40aefb2eefdee2cff21)
Fixes #497 - local variable 'item' referenced before assignment