used for files that usually (on a Unix system) go into ``/tmp``. The string
will be interpreted relative to the node's base directory.
+
Client Configuration
====================
(Mutable files use a different share placement algorithm that does not
currently consider this parameter.)
+
Frontend Configuration
======================
``[sftpd]`` sections of ``tahoe.cfg``.
+
Storage Server Configuration
============================
many people as possible, put the empty string (so that ``private/convergence``
is a zero-length file).
+
Other files
===========
-
import datetime, os.path, re, types, ConfigParser, tempfile
from base64 import b32decode, b32encode
# creates self.config, populates from distinct files if necessary
self.read_config()
-
nickname_utf8 = self.get_config("node", "nickname", "<unspecified>")
self.nickname = nickname_utf8.decode("utf-8")
assert type(self.nickname) is unicode
def add_service(self, s):
s.setServiceParent(self)
return s
-
def log(self, *args, **kwargs):
return log.msg(*args, **kwargs)
-
class SystemTestMixin(pollmixin.PollMixin, testutil.StallMixin):
# SystemTestMixin tests tend to be a lot of work, and we have a few
-
import os
from twisted.trial import unittest
from twisted.application import service
-
from twisted.trial import unittest
from twisted.python import usage, runtime