Skip to content

Commit

Permalink
Fix to external_ml and display of Enumeration types
Browse files Browse the repository at this point in the history
  • Loading branch information
Dataliberate committed Jul 23, 2019
1 parent 614088f commit eadc8da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdoapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,7 @@ def external_ml(self, term, title='', prop=''):
#log.info("EXTERNAL!!!! %s %s " % (term.getLabel(),term.getId()))

name = term.getId()
label = term.getLabel()

if not ":" in name:
return name
Expand Down Expand Up @@ -1438,7 +1439,7 @@ def emitExactTermPage(self, term, layers="core"):
self.emitUnitHeaders(term) # writes <h1><table>...
stack = self._removeStackDupes(term.getTermStack())
setAppVar("tableHdr",False)
if term.isClass() or term.isDataType() or term.isEnumeration():
if term.isClass() or term.isDataType():
for p in stack:
self.ClassProperties(p, p==[0], out=self, term=term)
if getAppVar("tableHdr"):
Expand Down

0 comments on commit eadc8da

Please sign in to comment.