Skip to content

Commit 7d715f6

Browse files
authored
Merge pull request #124 from whiteroses/fix-issue-123
Accept hostname targets that do not contain a period.
2 parents 9ba669d + f2e0a2b commit 7d715f6

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Interlace/lib/core/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.9.0'
1+
__version__ = '1.9.1'

Interlace/lib/core/input.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,7 @@ def parse_and_group_target_specs(target_specs, nocidr):
187187
for target_spec in target_specs:
188188
if (
189189
target_spec.startswith(".") or
190-
(
191-
(target_spec[0].isalpha() or target_spec[-1].isalpha())
192-
and "." in target_spec
193-
) or
190+
(target_spec[0].isalpha() or target_spec[-1].isalpha()) or
194191
(nocidr and "/" in target_spec)
195192
):
196193
str_targets.add(target_spec)

0 commit comments

Comments
 (0)