mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix docstring of parse_value() to be informative
This commit is contained in:
@@ -313,8 +313,8 @@ class InventoryParser(object):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def _parse_value(v):
|
def _parse_value(v):
|
||||||
'''
|
'''
|
||||||
Does something with something and returns something. Not for mere
|
Attempt to transform the string value from an ini file into a basic python object
|
||||||
mortals such as myself to interpret.
|
(int, dict, list, unicode string, etc).
|
||||||
'''
|
'''
|
||||||
if "#" not in v:
|
if "#" not in v:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user