Merge branch 'master' of github.com:nsupdate-info/nsupdate.info
This commit is contained in:
commit
d6949e5178
@ -27,6 +27,14 @@ Translations are done on Transifex - please collaborate there to avoid double wo
|
||||
|
||||
https://www.transifex.com/projects/p/nsupdateinfo/
|
||||
|
||||
You need the transifex-client package so you have the tx command:
|
||||
|
||||
::
|
||||
|
||||
# currently only works on python 2.x, transifex-client github repo has 3.3 support
|
||||
pip install transifex-client
|
||||
|
||||
|
||||
Please make sure to configure your notification settings so that you are
|
||||
notified when the translation project is updated (so you can react quickly and
|
||||
keep your translation fresh).
|
||||
|
@ -405,7 +405,7 @@ def _on_update_success(host, fqdn, kind, ipaddr, secure, logger):
|
||||
network = IPNetwork("%s/%d" % (ipaddr, netmask))
|
||||
rh_ipaddr = str(IPAddress(network.network) + int(ifid))
|
||||
rh_fqdn = FQDN(rh.name + '.' + fqdn.host, fqdn.domain)
|
||||
except AddrFormatError as e:
|
||||
except (IndexError, AddrFormatError) as e:
|
||||
logger.warning("trouble computing address of related host %s [%s]" % (rh, e))
|
||||
else:
|
||||
logger.info("updating related host %s -> %s" % (rh_fqdn, rh_ipaddr))
|
||||
|
@ -5,4 +5,3 @@ pytest
|
||||
pytest-django
|
||||
pytest-pep8
|
||||
Sphinx
|
||||
transifex-client
|
||||
|
Loading…
x
Reference in New Issue
Block a user