replacing \n characters in a hash
Fredrik Lundh
fredrik at pythonware.com
Thu Jan 26 10:21:19 EST 2006
Johhny wrote:
> for vals in errata:
>
> print "%s\t\t%s\t\t%s\t%s\t%s" %
>
(vals['errata_advisory'],vals['errata_issue_date'],vals['errata_update_date'],vals['errata_last_modified_date'],vals['errata_type'],
)
>
> errata_info = getPackage(vals['errata_advisory'],)
>
> print errata_info['errata_topic']
>
> errata_package = errata_info['errata_topic']
add
print type(errata_package), repr(errata_package)
here, and let us know what it prints.
> print getPackage(vals['errata_advisory'])
</F>
More information about the Python-list
mailing list