Changeset 3144 for pykota/trunk

Show
Ignore:
Timestamp:
02/15/07 18:52:56 (18 years ago)
Author:
jerome
Message:

pknotify doesn't fail anymore when there's no remote pykoticon.
it still fails and logs an error when the remote pykoticon is there but doesn't accept
incoming requests from the print server (this is a misconfiguration, so it must fail).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pknotify

    r3133 r3144  
    298298                if errnum == errno.ECONNREFUSED : 
    299299                    raise PyKotaToolError, "%s : %s" % (str(msg), (_("Are you sure that PyKotIcon is running and accepting incoming connections on %s:%s ?") % (self.destination, self.port))) 
    300             raise PyKotaToolError, "%s : %s" % (_("Connection error"), str(msg)) 
     300            self.printInfo("%s : %s" % (_("Connection error"), str(msg)), "warn") 
    301301        except TimeoutError, msg :     
    302302            self.printInfo(msg, "warn")