Changeset 24 for pkipplib/trunk

Show
Ignore:
Timestamp:
06/05/06 23:18:30 (18 years ago)
Author:
jerome
Message:

If no error, don't set the error message to "None" anymore.

Files:
1 modified

Legend:

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

    r23 r24  
    640640        result = req.doRequest() 
    641641        self.lastError = req.error 
    642         self.lastErrorMessage = str(req.error) 
     642        if self.lastError is not None : 
     643            self.lastErrorMessage = str(self.lastError) 
     644        else :     
     645            self.lastErrorMessage = None 
    643646        return result 
    644647