Show
Ignore:
Timestamp:
04/29/05 10:00:06 (19 years ago)
Author:
jerome
Message:

Fixed history retrieval for nonexisting printers or users

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/ldapstorage.py

    r2221 r2222  
    10481048        precond = "(objectClass=pykotaJob)" 
    10491049        where = [] 
    1050         if (user is not None) and user.Exists : 
     1050        if user is not None : 
    10511051            where.append("(pykotaUserName=%s)" % user.Name) 
    1052         if (printer is not None) and printer.Exists : 
     1052        if printer is not None : 
    10531053            where.append("(pykotaPrinterName=%s)" % printer.Name) 
    10541054        if hostname is not None :