Changeset 749

Show
Ignore:
Timestamp:
02/07/03 23:17:58 (22 years ago)
Author:
jalet
Message:

Incomplete test

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/edpykota

    r748 r749  
    1717# 
    1818# $Log$ 
     19# Revision 1.7  2003/02/07 22:17:58  jalet 
     20# Incomplete test 
     21# 
    1922# Revision 1.6  2003/02/07 22:13:13  jalet 
    2023# Perhaps edpykota is now able to add printers !!! Oh, stupid me ! 
     
    138141            except ValueError :     
    139142                raise PyKotaToolError, "Invalid hardlimit value %s." % options["hardlimit"] 
    140         if hardlimit < softlimit :         
     143        if (softlimit is not None) and (hardlimit is not None) and (hardlimit < softlimit) :         
    141144            # error, exchange them 
    142145            self.logger.log_message("Hard limit %i is less than soft limit %i, values will be exchanged." % (hardlimit, softlimit), "warn")