Skip to content

Instantly share code, notes, and snippets.

@pandujar
Last active August 29, 2015 14:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pandujar/1ca75329cbd4d4967b5d to your computer and use it in GitHub Desktop.
Save pandujar/1ca75329cbd4d4967b5d to your computer and use it in GitHub Desktop.
[pandujar@*** ~]$ python2.6 errata-import.py
[+] Connected to https://****/rpc/api
[+] Creating inventory from Server:
[+] Retrieving the list of available channels
[-] Excluding channel: precise
[+] Including channel: precise-backports
[+] Including channel: precise-security
[+] Including channel: precise-universe-backports
[+] Including channel: precise-universe-main
[+] Including channel: precise-universe-security
[+] Including channel: precise-universe-updates
[+] Including channel: precise-updates
[+] Including channel: precise-yammer
[+] Retrieving Package List from Channel: precise-backports
[+] Retrieving Package List from Channel: precise-security
[+] Retrieving Package List from Channel: precise-universe-backports
[+] Retrieving Package List from Channel: precise-universe-main
[+] Retrieving Package List from Channel: precise-universe-security
[+] Retrieving Package List from Channel: precise-universe-updates
[+] Retrieving Package List from Channel: precise-updates
[+] Retrieving Package List from Channel: precise-yammer
[+] Retrieving data from ubuntu-errata.xml
[-] Error parsing ubuntu-errata.xml: iter
Traceback (most recent call last):
File "errata-import.py", line 156, in <module>
main()
File "errata-import.py", line 152, in main
parseXML(filename)
File "errata-import.py", line 140, in parseXML
for package in element.iter('packages'):
AttributeError: iter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment