Skip to content

Commit

Permalink
Fixed up docstring, per comments on PR.
Browse files Browse the repository at this point in the history
Now conforms better to standards.
  • Loading branch information
pengale authored and Dmitrii Shcherbakov committed Feb 26, 2019
1 parent c9231fa commit e52f05a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions charmhelpers/fetch/ubuntu.py
Expand Up @@ -585,8 +585,11 @@ def _add_apt_repository(spec):


def _contains_range(addresses):
"""Determine whether a string of domains and ip addresses contains a
cidr or wildcard domain.
"""Check for cidr or wildcard domain in a string.
Given a string comprising a comma seperated list of ip addresses
and domain names, determine whether the string contains IP ranges
or wildcard domains.
:param addresses: comma seperated list of domains and ip addresses.
:type addresses: str
Expand Down

0 comments on commit e52f05a

Please sign in to comment.