Changeset 75:aa983e43105e for flup
- Timestamp:
- 07/23/08 22:51:59 (1 month ago)
- Files:
-
- flup/server/paste_factory.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
flup/server/paste_factory.py
r32 r75 4 4 port = port or global_conf.get('port', 4000) 5 5 6 local_conf['bindAddress'] = (host, int(port)) 6 if 'socket' in local_conf: 7 local_conf['bindAddress'] = local_conf['socket'] 8 del local_conf['socket'] 9 else: 10 local_conf['bindAddress'] = (host, int(port)) 7 11 8 12 def server(application):