Skip to content

Commit

Permalink
new version 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
prrvchr committed Jan 22, 2024
1 parent ee1af0e commit ae2ffc8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source/gContactOOo/service/pythonpath/gcontact/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def getMetaData(self, tag, default=None, dot='.', sep=','):
try:
paths = dict(list(self._getPaths(tag, dot)))
maps = dict(list(self._getMaps(tag, dot)))
types = dict(list(self._getTypes(tag, dot)))
types = dict(list(self._getTypes(tag, dot, True)))
tmps = list(self._getTmps(tag, dot))
fields = next(self._getFields(default, sep))
except Exception as e:
Expand Down Expand Up @@ -71,9 +71,10 @@ def _getMaps(self, tag, dot):
result.close()
call.close()

def _getTypes(self, tag, dot):
def _getTypes(self, tag, dot, compose):
sep = dot + tag + dot
call = self._getCall('getTypes')
call.setBoolean(1, compose)
result = call.executeQuery()
while result.next():
key = result.getString(1) + sep + result.getString(2) + sep + result.getString(3)
Expand Down

0 comments on commit ae2ffc8

Please sign in to comment.