~maas-committers/maas/trunk

Viewing all changes in revision 4956.

  • Committer: MAAS Lander
  • Author(s): Blake Rouse
  • Date: 2016-04-26 02:51:04 UTC
  • mfrom: (4943.4.1 fix-1555864)
  • Revision ID: maas_lander-20160426025104-q8a48sg6fu961bo4
[r=andreserl][bug=1555864][author=blake-rouse] Catch UnicodeDecodeError from the netaddr library when get_vendor_for_mac is called.

The netaddr library has an issue in python3 when it comes to getting the registration information for a MAC address. This just catches the failure in MAAS so the Web UI does not crash.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: