You are not logged in Log in Join
You are here: Home » Members » klm » ZopeDebugging » Zope ZODB customization file » View File

Log in
Name

Password

 

Zope ZODB customization file

File details
Size
1 K
File type
text/plain

File contents

# ZODB customization file -
# Expects environment variable settings that izctl.py provides.

import ZEO.ClientStorage, os, string

host=os.environ.get('ZEO_SERVER_NAME', '')
port=string.atoi(os.environ['ZEO_SERVER_PORT'])

Storage=ZEO.ClientStorage.ClientStorage(
    (host, port), name='ZEO Demo')