[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [ascension] branch master updated: added searching for zone
From: |
gnunet |
Subject: |
[GNUnet-SVN] [ascension] branch master updated: added searching for zone if it already exists |
Date: |
Thu, 09 May 2019 16:24:03 +0200 |
This is an automated email from the git hooks/post-receive script.
rexxnor pushed a commit to branch master
in repository ascension.
The following commit(s) were added to refs/heads/master by this push:
new c5616a8 added searching for zone if it already exists
c5616a8 is described below
commit c5616a8283fb7e919c90c24c94bdd9113b80bbc4
Author: rexxnor <address@hidden>
AuthorDate: Thu May 9 16:23:17 2019 +0200
added searching for zone if it already exists
---
ascension/ascension.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ascension/ascension.py b/ascension/ascension.py
index 63b2680..5a22d4d 100644
--- a/ascension/ascension.py
+++ b/ascension/ascension.py
@@ -593,8 +593,9 @@ class Ascender():
stdout=sp.PIPE,
stderr=sp.DEVNULL)
logging.info("executed command: %s", " ".join(ret.args))
- pkey_zone = ret.stdout.decode().strip()
except sp.CalledProcessError:
+ output = ret.stdout.decode().strip()
+ pkey_zone = re.findall("^[\w\d]{52}$", output, re.M)[0]
logging.info("Zone %s already exists!", zonestring)
return pkey_zone
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [ascension] branch master updated: added searching for zone if it already exists,
gnunet <=