[gnome-ostree] Expand ~ for 'repo' config key
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] Expand ~ for 'repo' config key
- Date: Thu, 16 Aug 2012 13:50:25 +0000 (UTC)
commit 60bcd7626bb2587eb182e3bdeff593870a73aa19
Author: Colin Walters <walters verbum org>
Date: Thu Aug 16 09:48:57 2012 -0400
Expand ~ for 'repo' config key
Otherwise we're just inconsistent.
src/ostbuild/pyostbuild/builtins.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/pyostbuild/builtins.py b/src/ostbuild/pyostbuild/builtins.py
index b5fd104..24e6025 100755
--- a/src/ostbuild/pyostbuild/builtins.py
+++ b/src/ostbuild/pyostbuild/builtins.py
@@ -178,7 +178,7 @@ class Builtin(object):
def init_repo(self):
if self.repo is not None:
return self.repo
- repo = ostbuildrc.get_key('repo', default=None)
+ repo = os.path.expanduser(ostbuildrc.get_key('repo', default=None))
if repo is not None:
self.repo = repo
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]