mirror of
https://github.com/codingo/Interlace.git
synced 2026-02-21 23:04:28 +01:00
Merge pull request #124 from whiteroses/fix-issue-123
Accept hostname targets that do not contain a period.
This commit is contained in:
@@ -1 +1 @@
|
||||
__version__ = '1.9.0'
|
||||
__version__ = '1.9.1'
|
||||
|
||||
@@ -187,10 +187,7 @@ class InputHelper(object):
|
||||
for target_spec in target_specs:
|
||||
if (
|
||||
target_spec.startswith(".") or
|
||||
(
|
||||
(target_spec[0].isalpha() or target_spec[-1].isalpha())
|
||||
and "." in target_spec
|
||||
) or
|
||||
(target_spec[0].isalpha() or target_spec[-1].isalpha()) or
|
||||
(nocidr and "/" in target_spec)
|
||||
):
|
||||
str_targets.add(target_spec)
|
||||
|
||||
Reference in New Issue
Block a user