mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 23:02:25 +00:00
clarify Introducer imports
This commit is contained in:
parent
9a8ef9512e
commit
7de94f623c
@ -1,12 +1,13 @@
|
||||
|
||||
# This is for compatibilty with old .tac files, which reference
|
||||
# allmydata.introducer.IntroducerNode
|
||||
|
||||
from allmydata.introducer.server import create_introducer
|
||||
# apparently need to support "old .tac files" that may have this name burned in
|
||||
# don't use this in new code
|
||||
|
||||
# apparently need to support "old .tac files" that may have
|
||||
# "allmydata.introducer.IntroducerNode" burned in -- don't use this in
|
||||
# new code
|
||||
from allmydata.introducer.server import _IntroducerNode as IntroducerNode
|
||||
|
||||
# hush pyflakes
|
||||
_unused = [create_introducer, IntroducerNode]
|
||||
del _unused
|
||||
__all__ = (
|
||||
"create_introducer",
|
||||
"IntroducerNode",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user