summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Shoemaker <kutsuya@gentoo.org>2003-03-07 03:47:29 +0000
committerJason Shoemaker <kutsuya@gentoo.org>2003-03-07 03:47:29 +0000
commitd924c31a5a630c63db2f3d4dc14885a823794d92 (patch)
tree930da3a97f06256974bf2cc4bb56f66d9a054e54 /net-zope/zope
parentNoticed that echangelog doesn't add changelog to cvs. (diff)
downloadhistorical-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.py7
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')