[Git][NTPsec/ntpsec][master] Added/adjusted comments in agentx

Ian Bruene gitlab at mg.gitlab.com
Sat Sep 30 16:59:02 UTC 2017


Ian Bruene pushed to branch master at NTPsec / ntpsec


Commits:
1be2ac23 by Ian Bruene at 2017-09-30T11:58:21-05:00
Added/adjusted comments in agentx

- - - - -


1 changed file:

- pylib/agentx.py


Changes:

=====================================
pylib/agentx.py
=====================================
--- a/pylib/agentx.py
+++ b/pylib/agentx.py
@@ -122,6 +122,7 @@ class AgentXPDU:
         self._hascontext = hascontext
 
     def packetVars(self):
+        "Assembles a list of class variables that it is desirable to print"
         pktvars = {}
         names = dir(self)
         names.remove("context")
@@ -765,7 +766,7 @@ class ResponsePDU(AgentXPDU):
 
 
 def classifyOID(oid):
-    "utility function to allow the user to send a bare tuple for some cases"
+    "Utility function to allow the user to send a bare tuple for some cases"
     if isinstance(oid, OID):
         return oid
     return OID(oid, False)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/1be2ac23d828049a47bdec36e4b3dea20413a42b

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/1be2ac23d828049a47bdec36e4b3dea20413a42b
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170930/fadfe769/attachment.html>


More information about the vc mailing list