diff options
author | 2003-03-07 03:47:29 +0000 | |
---|---|---|
committer | 2003-03-07 03:47:29 +0000 | |
commit | cb2f7def3d19c5edf1d84c531b2c8fe80a1d4d49 (patch) | |
tree | 40203ba7c8d7b6825a95ee2d0d206df57e4efae7 /net-zope/zope | |
parent | Noticed that echangelog doesn't add changelog to cvs. (diff) | |
download | gentoo-2-cb2f7def3d19c5edf1d84c531b2c8fe80a1d4d49.tar.gz gentoo-2-cb2f7def3d19c5edf1d84c531b2c8fe80a1d4d49.tar.bz2 gentoo-2-cb2f7def3d19c5edf1d84c531b2c8fe80a1d4d49.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') |