Changeset 1274 for pykota/trunk/pykota/storage.py
- Timestamp:
- 01/12/04 15:35:02 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storage.py
r1269 r1274 22 22 # 23 23 # $Log$ 24 # Revision 1.37 2004/01/12 14:35:01 jalet 25 # Printing history added to CGI script. 26 # 24 27 # Revision 1.36 2004/01/10 09:44:02 jalet 25 28 # Fixed potential accuracy problem if a user printed on several printers at … … 338 341 self.HardLimit = hardlimit 339 342 340 class Storage LastJob(StorageObject) :343 class StorageJob(StorageObject) : 341 344 """Printer's Last Job class.""" 342 def __init__(self, parent , printer) :345 def __init__(self, parent) : 343 346 StorageObject.__init__(self, parent) 344 self.Printer = printer 347 self.User = None 348 self.Printer = None 345 349 self.JobId = None 346 self.User = None347 350 self.PrinterPageCounter = None 348 351 self.JobSize = None … … 355 358 self.JobOptions = None 356 359 360 class StorageLastJob(StorageJob) : 361 """Printer's Last Job class.""" 362 def __init__(self, parent, printer) : 363 StorageJob.__init__(self, parent) 364 self.Printer = printer 365 357 366 def setSize(self, jobsize) : 358 367 """Sets the last job's size.""" … … 361 370 self.JobSize = jobsize 362 371 self.JobPrice = jobprice 363 372 364 373 class BaseStorage : 365 374 def __init__(self, pykotatool) :