File tree Expand file tree Collapse file tree 5 files changed +12
-3
lines changed Expand file tree Collapse file tree 5 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 2
2
History
3
3
=======
4
4
5
+
6
+ 2.2.2 (2020-12-15)
7
+ ------------------
8
+
9
+ Add support for PolicyTemplate items #46
10
+
11
+
5
12
2.2.1 (2020-11-06)
6
13
------------------
7
14
Original file line number Diff line number Diff line change 55
55
'Programming Language :: Python :: 3.6' ,
56
56
'Programming Language :: Python :: 3.7' ,
57
57
'Programming Language :: Python :: 3.8' ,
58
+ 'Programming Language :: Python :: 3.9' ,
58
59
'Operating System :: MacOS :: MacOS X' ,
59
60
'Operating System :: Microsoft :: Windows' , 'Operating System :: Unix' ,
60
61
'Operating System :: POSIX :: Linux' ,
Original file line number Diff line number Diff line change 13
13
'vro_element' ,
14
14
]
15
15
16
- __version__ = "2.2.1 "
16
+ __version__ = "2.2.2 "
17
17
"""Define the version of the package.
18
18
"""
Original file line number Diff line number Diff line change 18
18
"ScriptModule" ,
19
19
"Action" ,
20
20
"ResourceElement" ,
21
- "ConfigurationElement"
21
+ "ConfigurationElement" ,
22
+ "PolicyTemplate"
22
23
]
23
24
"""list: Currently support is limited to the following types of items."""
24
25
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def read_data(self):
117
117
if self .type == 'Workflow' :
118
118
namespaces = {'workflow' : 'http://vmware.com/vco/workflow' }
119
119
self .name = root .find ('workflow:display-name' , namespaces ).text
120
- elif self .type == 'Action' or self .type == "ScriptModule" :
120
+ elif self .type == 'Action' or self .type == "ScriptModule" or self . type == "PolicyTemplate" :
121
121
self .name = root .get ('name' )
122
122
elif self .type == 'ConfigurationElement' :
123
123
self .name = root .find ('display-name' ).text
You can’t perform that action at this time.
0 commit comments