Changeset 22 for pkipplib

Show
Ignore:
Timestamp:
06/05/06 19:04:20 (16 years ago)
Author:
jerome
Message:

Improved robustness a bit.

Location:
pkipplib/trunk/pkipplib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pkipplib/trunk/pkipplib/pkipplib.py

    r21 r22  
    596596        try :     
    597597            response = urllib2.urlopen(cx) 
    598         except (urllib2.HTTPError, socket.error), error :     
     598        except (urllib2.URLError, urllib2.HTTPError, socket.error), error :     
    599599            self.error = error 
     600            sys.stderr.write("ERROR : %s\n" % str(error)) 
    600601            return None 
    601602        else :     
  • pkipplib/trunk/pkipplib/version.py

    r21 r22  
    2121# 
    2222 
    23 __version__ = "0.04" 
     23__version__ = "0.05" 
    2424 
    2525__doc__ = "pkipplib : IPP and CUPS support for Python."