- Timestamp:
- 02/10/03 12:47:39 (22 years ago)
- Location:
- pykota/trunk/pykota
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/config.py
r786 r789 15 15 # 16 16 # $Log$ 17 # Revision 1.13 2003/02/10 11:47:39 jalet 18 # Moved some code down into the requesters 19 # 17 20 # Revision 1.12 2003/02/10 10:36:33 jalet 18 21 # Small problem wrt external requester … … 151 154 if args.endswith(')') : 152 155 args = args[:-1] 153 args = [x.strip() for x in args.split(',')]154 156 if not args : 155 157 raise PyKotaConfigError, _("Invalid requester %s for printer %s") % (fullrequester, printer) -
pykota/trunk/pykota/requesters/external.py
r786 r789 15 15 # 16 16 # $Log$ 17 # Revision 1.5 2003/02/10 11:47:39 jalet 18 # Moved some code down into the requesters 19 # 17 20 # Revision 1.4 2003/02/10 10:36:33 jalet 18 21 # Small problem wrt external requester … … 39 42 """Sets instance vars depending on the current printer.""" 40 43 self.printername = printername 41 self.commandline = arguments [0]44 self.commandline = arguments.strip() 42 45 43 46 def getPrinterPageCounter(self, printer) : -
pykota/trunk/pykota/requesters/snmp.py
r780 r789 15 15 # 16 16 # $Log$ 17 # Revision 1.6 2003/02/10 11:47:39 jalet 18 # Moved some code down into the requesters 19 # 17 20 # Revision 1.5 2003/02/10 00:42:17 jalet 18 21 # External requester should be ok (untested) … … 43 46 """Sets instance vars depending on the current printer.""" 44 47 self.printername = printername 45 self.community = arguments[0] 46 self.oid = arguments[1] 48 args = [x.strip() for x in arguments.split(',')] 49 self.community = args[0] 50 self.oid = args[1] 47 51 48 52 def getPrinterPageCounter(self, hostname) :