diff options
author | Thomas Haller <thaller@redhat.com> | 2018-08-03 13:53:01 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-08-03 14:24:28 +0200 |
commit | 86841df3684c7322b86a8d7de1de54c1aa5795e6 (patch) | |
tree | 2c7e440ac15ce873607e57b13af1d6d73c4ed4af /libnm | |
parent | c8f23842101b5d6b05bfb025ba7c96d11afaaf39 (diff) | |
download | NetworkManager-86841df3684c7322b86a8d7de1de54c1aa5795e6.tar.gz |
libnm/docs: don't document NM_SETTING_NAME property
NM_SETTING_NAME is a special property that only has relevance
to libnm. It is inherited by all NMSetting instances. It is
read-only, and it has no corresponding value on D-Bus or nmcli.
Skip it during generate-setting-docs.py.
This also drops it from `man nm-settings`, where it doesn't belong.
Diffstat (limited to 'libnm')
-rwxr-xr-x | libnm/generate-setting-docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm/generate-setting-docs.py b/libnm/generate-setting-docs.py index bb9fa6a133..bf069cbd58 100755 --- a/libnm/generate-setting-docs.py +++ b/libnm/generate-setting-docs.py @@ -228,7 +228,7 @@ for settingxml in settings: raise Exception("%s needs a gtk-doc block with one-line description" % setting.props.name) outfile.write(" <setting name=\"%s\" description=\"%s\" name_upper=\"%s\" >\n" % (setting.props.name, class_desc, get_setting_name_define (settingxml))) - setting_properties = { prop.name: prop for prop in GObject.list_properties(setting) } + setting_properties = { prop.name: prop for prop in GObject.list_properties(setting) if prop.name != 'name' } if args.overrides is None: setting_overrides = {} else: |