diff options
author | Jason Shoemaker <kutsuya@gentoo.org> | 2003-03-07 03:47:29 +0000 |
---|---|---|
committer | Jason Shoemaker <kutsuya@gentoo.org> | 2003-03-07 03:47:29 +0000 |
commit | d924c31a5a630c63db2f3d4dc14885a823794d92 (patch) | |
tree | 930da3a97f06256974bf2cc4bb56f66d9a054e54 /net-zope/zope | |
parent | Noticed that echangelog doesn't add changelog to cvs. (diff) | |
download | historical-d924c31a5a630c63db2f3d4dc14885a823794d92.tar.gz historical-d924c31a5a630c63db2f3d4dc14885a823794d92.tar.bz2 historical-d924c31a5a630c63db2f3d4dc14885a823794d92.zip |
Forgot to add this file.
Diffstat (limited to 'net-zope/zope')
-rw-r--r-- | net-zope/zope/files/custom_zodb.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net-zope/zope/files/custom_zodb.py b/net-zope/zope/files/custom_zodb.py new file mode 100644 index 000000000000..1fd2532d8719 --- /dev/null +++ b/net-zope/zope/files/custom_zodb.py @@ -0,0 +1,7 @@ +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') |