Changeset 693

Show
Ignore:
Timestamp:
07/20/07 09:00:24 (17 years ago)
Author:
jerome
Message:

Added a fix to use the workaround method when the connection to
the CUPS server failed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tea4cups/trunk/tea4cups

    r692 r693  
    11321132            cupsserver = CUPS() # TODO : username and password and/or encryption 
    11331133            answer = cupsserver.getJobAttributes(self.JobId) 
     1134            if answer is None :  # probably connection refused because we 
     1135                raise ValueError # don't hande unix domain sockets yet. 
    11341136            self.ControlFile = "NotUsedAnymore" 
    11351137        except :