Changeset 1475 for pykota/trunk/bin

Show
Ignore:
Timestamp:
05/13/04 15:59:30 (21 years ago)
Author:
jalet
Message:

Code simplifications

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/pkhint

    r1423 r1475  
    2424# 
    2525# $Log$ 
     26# Revision 1.7  2004/05/13 13:59:27  jalet 
     27# Code simplifications 
     28# 
    2629# Revision 1.6  2004/03/30 12:59:47  jalet 
    2730# Fixed path problem 
     
    211214                    snmpcommand = self.accepts(SNMPTESTS, hostname) 
    212215                    if snmpcommand is not None : 
    213                         accounter = "querying" 
     216                        accounter = "hardware" 
    214217                        requester = 'external(/usr/share/pykota/waitprinter.sh %(printer)s && ' + snmpcommand + ')' 
    215218                        configuration.append((printer, accounter, requester)) 
     
    217220                        netpjlcommand = self.accepts(NETPJLTESTS, hostname, port) 
    218221                        if netpjlcommand is not None : 
    219                             accounter = "querying" 
     222                            accounter = "hardware" 
    220223                            requester = 'external(' + netpjlcommand + ')' 
    221224                            configuration.append((printer, accounter, requester))