products_condense does not seem to work as desired
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simplestreams (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
bad description, but I have a example data and test.
See the attached file, but we call 'util.products_
Note, that sticky=None or sticky=[some, list] doesn't seem to be breaking it (ie, sticky=None still shows it).
Heres the test program:
#!/usr/bin/python
from simplestreams import util
import sys, copy
STICKY = ['ftype', 'md5', 'sha256', 'size', 'name', 'id']
STICKY = None
data = util.load_
orig_data = copy.deepcopy(data)
util.products_
sys.stdout.
sys.stdout.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: python-
ProcVersionSign
Uname: Linux 3.15.0-5-generic x86_64
ApportVersion: 2.14.3-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jun 9 09:09:33 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-19 (963 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
SourcePackage: simplestreams
UpgradeStatus: Upgraded to utopic on 2013-05-20 (385 days ago)
Related branches
- Scott Moser: Pending requested
-
Diff: 80 lines (+19/-9)2 files modifiedsimplestreams/util.py (+4/-3)
tests/unittests/test_util.py (+15/-6)
summary: |
- products_condense doesnt seem to work as desired + products_condense does not seem to work as desired |
Attaching file with properly formated json.