mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 03:06:33 +00:00
match get_or_create_private_config API (closes ticket:2775)
This commit is contained in:
parent
4a25573e2d
commit
308bb8c41f
@ -235,7 +235,7 @@ class Node(service.MultiService):
|
||||
"""
|
||||
privname = os.path.join(self.basedir, "private", name)
|
||||
try:
|
||||
return fileutil.read(privname)
|
||||
return fileutil.read(privname).strip()
|
||||
except EnvironmentError:
|
||||
if os.path.exists(privname):
|
||||
raise
|
||||
|
Loading…
Reference in New Issue
Block a user