Changeset 622
- Timestamp:
- 09/10/05 21:51:01
- Files:
-
- trunk/cherrypy/_cpcgifs.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cpcgifs.py
r616 r622 2 2 import cherrypy 3 3 4 class LocalInt:5 def __init__(self, value):6 self.__local = local()7 self.__local.value = value8 9 def setValue(self, value):10 self.__local.value = value11 12 def __int__(self):13 return self.__local.value14 15 def __nonzero__(self):16 return bool(self.__local.value)17 18 def __str__(self):19 return str(self.__local.value)20 4 21 5 class FieldStorage(cgi.FieldStorage):

