projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
531758d
)
node.py: fix the error path for a missing config option so that it works for a Unicod...
author
david-sarah
<david-sarah@jacaranda.org>
Sat, 6 Aug 2011 22:10:07 +0000
(15:10 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Sat, 6 Aug 2011 22:10:07 +0000
(15:10 -0700)
src/allmydata/node.py
patch
|
blob
|
history
diff --git
a/src/allmydata/node.py
b/src/allmydata/node.py
index f73239f268b6ee9481ee1ff35d9382e20caab6dc..793729b51fe3dfa93bc5212a365344b571dce375 100644
(file)
--- a/
src/allmydata/node.py
+++ b/
src/allmydata/node.py
@@
-105,9
+105,9
@@
class Node(service.MultiService):
return self.config.get(section, option)
except (ConfigParser.NoOptionError, ConfigParser.NoSectionError):
if default is _None:
- fn = os.path.join(self.basedir, "tahoe.cfg")
+ fn = os.path.join(self.basedir,
u
"tahoe.cfg")
raise MissingConfigEntry("%s is missing the [%s]%s entry"
- % (
fn
, section, option))
+ % (
quote_output(fn)
, section, option))
return default
def set_config(self, section, option, value):