summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2009-10-07 19:16:17 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2009-10-07 19:16:17 +0200
commit61f3bbfff91b3829f7483a94607bee16c2e84521 (patch)
tree88bf876e0aef117855f7a335814cd344e8495626
parentb80f0a3c1f04c4446ab3f7ec019a3888fa098fab (diff)
downloadlogilab-common-61f3bbfff91b3829f7483a94607bee16c2e84521.tar.gz
fix pyro storage
-rw-r--r--pyro_ext.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyro_ext.py b/pyro_ext.py
index a531188..e7915c6 100644
--- a/pyro_ext.py
+++ b/pyro_ext.py
@@ -14,12 +14,15 @@ Main functions available:
__docformat__ = "restructuredtext en"
import logging
+import tempfile
from Pyro import core, naming, errors, util, config
_LOGGER = logging.getLogger('pyro')
_MARKER = object()
+config.PYRO_STORAGE = tempfile.gettempdir()
+
def ns_group_and_id(idstr, defaultnsgroup=_MARKER):
try:
nsgroup, nsid = idstr.rsplit('.', 1)