fixed PEP8 style

This commit is contained in:
root 2017-01-23 11:27:34 +01:00
parent 06118d7360
commit 1f741762c8

View File

@ -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: