~freyes/charm-helpers/lp1642430

Viewing all changes in revision 673.

  • Committer: David Ames
  • Date: 2017-01-10 21:29:51 UTC
  • mfrom: (651.4.2 charm-helpers)
  • Revision ID: david.ames@canonical.com-20170110212951-c45b9jn6k07v48k9
[thedac,r=marco,r=corecyb] Do not Traceback on failure to resolve DNS

Put the DNS check in a try block and return None if NXDomain rather
than raising and Exception.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: