FIX: typo( self._query -> self.db._query ), removed unused 'time' import
Merge pull request #1276 from ubeda/FIX_v6r8_DirectorySimpleTree

[v6r8]FIX: typo( self._query -> self.db._query )