Skip to content

Commit

Permalink
Move imports to top for route53 (#29273)
Browse files Browse the repository at this point in the history
  • Loading branch information
springstan authored and balloob committed Dec 1, 2019
1 parent aa9514b commit 96a28e5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions homeassistant/components/route53/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
import logging
from typing import List

import boto3
from ipify import exceptions, get_ip
import voluptuous as vol

from homeassistant.const import CONF_DOMAIN, CONF_TTL, CONF_ZONE
Expand Down Expand Up @@ -72,10 +74,6 @@ def _update_route53(
records: List[str],
ttl: int,
):
import boto3
from ipify import get_ip
from ipify import exceptions

_LOGGER.debug("Starting update for zone %s", zone)

client = boto3.client(
Expand Down

0 comments on commit 96a28e5

Please sign in to comment.