cloud-init-dev team mailing list archive
-
cloud-init-dev team
-
Mailing list archive
-
Message #06501
[Merge] ~daniel-thewatkins/cloud-init/+git/cloud-init:doc into cloud-init:master
Dan Watkins has proposed merging ~daniel-thewatkins/cloud-init/+git/cloud-init:doc into cloud-init:master.
Requested reviews:
cloud-init commiters (cloud-init-dev)
For more details, see:
https://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/371363
--
Your team cloud-init commiters is requested to review the proposed merge of ~daniel-thewatkins/cloud-init/+git/cloud-init:doc into cloud-init:master.
diff --git a/cloudinit/distros/parsers/sys_conf.py b/cloudinit/distros/parsers/sys_conf.py
index c27b5d5..44df17d 100644
--- a/cloudinit/distros/parsers/sys_conf.py
+++ b/cloudinit/distros/parsers/sys_conf.py
@@ -43,6 +43,13 @@ def _contains_shell_variable(text):
class SysConf(configobj.ConfigObj):
+ """A configobj.ConfigObj subclass specialised for sysconfig files.
+
+ :param contents:
+ The sysconfig file to parse, in a format accepted by
+ ``configobj.ConfigObj.__init__`` (i.e. "a filename, file like object,
+ or list of lines").
+ """
def __init__(self, contents):
configobj.ConfigObj.__init__(self, contents,
interpolation=False,
Follow ups
-
Re: [Merge] ('~daniel-thewatkins/cloud-init/+git/cloud-init', ':', 'doc') into ('cloud-init', ':', 'master')
From: Server Team CI bot, 2019-08-15
-
[Merge] ~daniel-thewatkins/cloud-init/+git/cloud-init:doc into cloud-init:master
From: Dan Watkins, 2019-08-15
-
Re: [Merge] ('~daniel-thewatkins/cloud-init/+git/cloud-init', ':', 'doc') into ('cloud-init', ':', 'master')
From: Server Team CI bot, 2019-08-15