Add comments about how get is returning data

This commit is contained in:
twangboy 2018-05-08 18:51:21 -06:00
parent f1f1bfc5c1
commit 87097eefb6
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -328,6 +328,13 @@ def get_community_names():
#
# {1: "community 1",
# 2: "community 2"}
#
# Denote that it is being managed by Group Policy.
#
# community 1:
# Managed by GPO
# community 2:
# Managed by GPO
if isinstance(current_values, list):
for current_value in current_values:
@ -352,6 +359,11 @@ def get_community_names():
#
# Convert the numeric value to the text equivalent, as present in the
# Windows SNMP service GUI.
#
# community 1:
# Read Only
# community 2:
# Read Only
if isinstance(current_values, list):
for current_value in current_values: