mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 13:53:07 +00:00
Add Namespace utility class. (This is already used in the leasedb/cloud backend branch.)
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
15a1550ced
commit
3ae6ceb6a8
src/allmydata
@ -5,11 +5,9 @@ from twisted.trial import unittest
|
||||
|
||||
from allmydata.util import iputil
|
||||
import allmydata.test.common_util as testutil
|
||||
from allmydata.util.namespace import Namespace
|
||||
|
||||
|
||||
class Namespace:
|
||||
pass
|
||||
|
||||
DOTTED_QUAD_RE=re.compile("^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$")
|
||||
|
||||
MOCK_IPADDR_OUTPUT = """\
|
||||
|
3
src/allmydata/util/namespace.py
Normal file
3
src/allmydata/util/namespace.py
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
class Namespace(object):
|
||||
pass
|
Loading…
x
Reference in New Issue
Block a user