Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/amazonbot/my_amazon.py

    r24 r8  
    291291    u = urllib.FancyURLopener(proxies) 
    292292    usock = u.open(url) 
    293     xmldoc = None 
    294     try: 
    295         xmldoc = minidom.parse(usock) 
    296     except: 
    297         raise AmazonError, 'XML Parsing Error' 
    298     if xmldoc is None: 
    299         raise AmazonError, 'XML Parsing Error (Result is None)' 
     293    xmldoc = minidom.parse(usock) 
    300294 
    301295#     from xml.dom.ext import PrettyPrint 
Note: See TracChangeset for help on using the changeset viewer.