From 1f741762c87331c250259ee8240ef3f95b8a0ef1 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 23 Jan 2017 11:27:34 +0100 Subject: [PATCH] fixed PEP8 style --- netbox/utilities/forms.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/netbox/utilities/forms.py b/netbox/utilities/forms.py index 3be038160..d21306d40 100644 --- a/netbox/utilities/forms.py +++ b/netbox/utilities/forms.py @@ -61,6 +61,7 @@ def parse_numeric_range(string, base=10): values.extend(range(begin, end)) return list(set(values)) + def expand_numeric_pattern(string): """ Expand a numeric pattern into a list of strings. Examples: @@ -76,6 +77,7 @@ def expand_numeric_pattern(string): else: yield "{}{}{}".format(lead, i, remnant) + def expand_ipaddress_pattern(string, family): """ Expand an IP address pattern into a list of strings. Examples: