[Git][NTPsec/ntpsec][master] Fix python doc-string for prettydate

Eric S. Raymond gitlab at mg.gitlab.com
Sun Oct 23 20:57:18 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
498776da by Matt Selsky at 2016-10-23T16:57:06-04:00
Fix python doc-string for prettydate

- - - - -


1 changed file:

- libntp/pymodule.c


Changes:

=====================================
libntp/pymodule.c
=====================================
--- a/libntp/pymodule.c
+++ b/libntp/pymodule.c
@@ -83,7 +83,7 @@ static PyMethodDef ntpc_methods[] = {
     {"statustoa",      	ntpc_statustoa,  	METH_VARARGS,
      PyDoc_STR("Status string display from peer status word.")},
     {"prettydate",     	ntpc_prettydate,  	METH_VARARGS,
-     PyDoc_STR("Status string display from peer status word.")},
+     PyDoc_STR("Convert a time stamp to something readable.")},
     {"lfptofloat",     	ntpc_lfptofloat,  	METH_VARARGS,
      PyDoc_STR("NTP l_fp to Python-style float time.")},
     {NULL,		NULL, 0, NULL}		/* sentinel */



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/498776da634922c23c281615b3e188a6178c6e56
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161023/212a2bc4/attachment.html>


More information about the vc mailing list