runner.py: expanduser() basedirs, so '~' works. Closes #51.

This commit is contained in:
Brian Warner 2007-05-24 11:10:19 -07:00
parent 8b9d7d6306
commit d0db98cc40

View File

@ -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 = [