[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-taler-util] 08/51: Update python config module.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-taler-util] 08/51: Update python config module. |
Date: |
Mon, 23 Sep 2019 22:01:59 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository taler-util.
commit 4141f50e14a25153d87d81579b1f9e23a786f2bd
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Feb 1 16:17:29 2019 +0100
Update python config module.
Does absolute paths at @INLINE@s now.
---
python/config/talerconfig.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/python/config/talerconfig.py b/python/config/talerconfig.py
index 7b55b62..8272e21 100644
--- a/python/config/talerconfig.py
+++ b/python/config/talerconfig.py
@@ -277,7 +277,10 @@ class TalerConfig:
if 2 != len(pair):
LOGGER.error("invalid inlined config filename
given ('%s')" % line)
continue
- self.load_file(os.path.join(os.path.dirname(filename),
pair[1]))
+ if pair[1].startswith("/"):
+ self.load_file(pair[1])
+ else:
+
self.load_file(os.path.join(os.path.dirname(filename), pair[1]))
continue
if line.startswith("["):
if not line.endswith("]"):
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [taler-taler-util] branch master created (now 3e2d0fb), gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 01/51: readme, gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 08/51: Update python config module.,
gnunet <=
- [GNUnet-SVN] [taler-taler-util] 09/51: empty module, gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 03/51: amount version 0.1. Basically has some new exceptions, gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 10/51: Very first draft for solving #4453., gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 05/51: First commit for #4453., gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 02/51: adding amount lib, gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 04/51: add talerconfig and linted amount, gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 06/51: remove old config, gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 07/51: Update "config" module (with one that implements @INLINE@)., gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 14/51: log test, gnunet, 2019/09/23
- [GNUnet-SVN] [taler-taler-util] 12/51: make map static, gnunet, 2019/09/23