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:
8b9d7d6
)
runner.py: expanduser() basedirs, so '~' works. Closes #51.
author
Brian Warner
<warner@allmydata.com>
Thu, 24 May 2007 18:10:19 +0000
(11:10 -0700)
committer
Brian Warner
<warner@allmydata.com>
Thu, 24 May 2007 18:10:19 +0000
(11:10 -0700)
src/allmydata/scripts/runner.py
patch
|
blob
|
history
diff --git
a/src/allmydata/scripts/runner.py
b/src/allmydata/scripts/runner.py
index 94acfdb92ccd297b4fd85aaf175272b7bdc7983a..4d0d14ed89d49dbaeb40ecd9cde1c2521b5792b7 100644
(file)
--- a/
src/allmydata/scripts/runner.py
+++ b/
src/allmydata/scripts/runner.py
@@
-74,7
+74,7
@@
class CreateClientOptions(usage.Options):
def postOptions(self):
if self['basedir'] is None:
raise usage.UsageError("<basedir> parameter is required")
- self['basedir'] = os.path.abspath(
self['basedir']
)
+ self['basedir'] = os.path.abspath(
os.path.expanduser(self['basedir'])
)
class CreateIntroducerOptions(usage.Options):
optParameters = [