Bug 1133146

Summary: builder.py --update-tag-package-list is not Python 2.6 compatible
Product: [Retired] Pulp Reporter: Randy Barlow <rbarlow>
Component: rel-engAssignee: pulp-bugs
Status: CLOSED UPSTREAM QA Contact: pulp-qe-list
Severity: low Docs Contact:
Priority: medium    
Version: 2.4.1CC: bmbouter, cduryee
Target Milestone: ---Keywords: Task, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 22:16:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Randy Barlow 2014-08-22 21:36:17 UTC
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:

Comment 1 Brian Bouterse 2015-02-28 22:16:22 UTC
Moved to https://pulp.plan.io/issues/497