Changeset 1494 for pykota/trunk/pykota/accounters/hardware.py
- Timestamp:
- 05/24/04 16:36:40 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/hardware.py
r1483 r1494 22 22 # 23 23 # $Log$ 24 # Revision 1.3 2004/05/24 14:36:40 jalet 25 # Revert to old polling loop. Will need optimisations 26 # 24 27 # Revision 1.2 2004/05/18 14:49:22 jalet 25 28 # Big code changes to completely remove the need for "requester" directives, … … 128 131 child.fromchild.close() 129 132 child.tochild.close() 130 status = child.wait() 133 try : 134 status = child.wait() 135 except OSError, msg : 136 self.filter.logdebug("Error while waiting for hardware accounter pid %s : %s" % (child.pid, msg)) 137 error = 1 131 138 if (not error) and os.WIFEXITED(status) and (not os.WEXITSTATUS(status)) : 132 139 return pagecounter