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/
|
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
|
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
|
notified when the translation project is updated (so you can react quickly and
|
||||||
keep your translation fresh).
|
keep your translation fresh).
|
||||||
|
@ -405,7 +405,7 @@ def _on_update_success(host, fqdn, kind, ipaddr, secure, logger):
|
|||||||
network = IPNetwork("%s/%d" % (ipaddr, netmask))
|
network = IPNetwork("%s/%d" % (ipaddr, netmask))
|
||||||
rh_ipaddr = str(IPAddress(network.network) + int(ifid))
|
rh_ipaddr = str(IPAddress(network.network) + int(ifid))
|
||||||
rh_fqdn = FQDN(rh.name + '.' + fqdn.host, fqdn.domain)
|
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))
|
logger.warning("trouble computing address of related host %s [%s]" % (rh, e))
|
||||||
else:
|
else:
|
||||||
logger.info("updating related host %s -> %s" % (rh_fqdn, rh_ipaddr))
|
logger.info("updating related host %s -> %s" % (rh_fqdn, rh_ipaddr))
|
||||||
|
@ -5,4 +5,3 @@ pytest
|
|||||||
pytest-django
|
pytest-django
|
||||||
pytest-pep8
|
pytest-pep8
|
||||||
Sphinx
|
Sphinx
|
||||||
transifex-client
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user