projects
/
dyn-nsupdate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
49122aa
)
Avoid needless format position specifications
author
Ralf Jung
<post@ralfj.de>
Fri, 6 Mar 2015 12:18:25 +0000
(13:18 +0100)
committer
Ralf Jung
<post@ralfj.de>
Fri, 6 Mar 2015 12:18:25 +0000
(13:18 +0100)
client-scripts/dyn-ns-client
patch
|
blob
|
history
diff --git
a/client-scripts/dyn-ns-client
b/client-scripts/dyn-ns-client
index 9f8118b64a2ff3700de664a67af8637c3ff3c1bd..35b0b2fcc9877b5627d93d33624cad51ae338daf 100755
(executable)
--- a/
client-scripts/dyn-ns-client
+++ b/
client-scripts/dyn-ns-client
@@
-105,7
+105,7
@@
def updateDomain(server, domain, ipv4, ipv6, password, verbose):
curIPv4 = getCurIPv4(domain)
curIPv6 = getCurIPv6(domain)
if verbose:
curIPv4 = getCurIPv4(domain)
curIPv6 = getCurIPv6(domain)
if verbose:
- print("Current status of domain {
0} is: IPv4 address '{1}', IPv6 address '{2
}'".format(domain, curIPv4, curIPv6))
+ print("Current status of domain {
} is: IPv4 address '{}', IPv6 address '{
}'".format(domain, curIPv4, curIPv6))
# check if there's something to do
needUpdate = (ipv4 is not None and curIPv4 != ipv4) or (ipv6 is not None and curIPv6 != ipv6)
# check if there's something to do
needUpdate = (ipv4 is not None and curIPv4 != ipv4) or (ipv6 is not None and curIPv6 != ipv6)