diff options
author | Mike Crute <mcrute@gmail.com> | 2011-06-07 23:21:36 -0400 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2011-06-07 23:21:36 -0400 |
commit | f243ec4b9f5dbf6292b18ef4bce5474a5a2c3cab (patch) | |
tree | 49e46974e9bee67557946dc7f8c33addc21c1eb6 | |
parent | 8aeaa2cd4192c92904ea27444bdc2ea9719706b0 (diff) | |
download | d2-f243ec4b9f5dbf6292b18ef4bce5474a5a2c3cab.tar.bz2 d2-f243ec4b9f5dbf6292b18ef4bce5474a5a2c3cab.tar.xz d2-f243ec4b9f5dbf6292b18ef4bce5474a5a2c3cab.zip |
Expanding user to make configs more portable
-rw-r--r-- | lib/d2/bin/d2_setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/d2/bin/d2_setup.py b/lib/d2/bin/d2_setup.py index d201333..30ad818 100644 --- a/lib/d2/bin/d2_setup.py +++ b/lib/d2/bin/d2_setup.py | |||
@@ -272,7 +272,8 @@ class LdapCert(BaseFilesystem): | |||
272 | @classmethod | 272 | @classmethod |
273 | def filename(cls, args): | 273 | def filename(cls, args): |
274 | filename = cls.FILENAME.format(args=args) | 274 | filename = cls.FILENAME.format(args=args) |
275 | return os.path.join(args.config_directory, filename) | 275 | path = os.path.join(args.config_directory, filename) |
276 | return os.path.expanduser(path) | ||
276 | 277 | ||
277 | class DatabaseFile(BaseFilesystem): | 278 | class DatabaseFile(BaseFilesystem): |
278 | pass | 279 | pass |