dbservice: TableAPI was missing from __all__
but was available on top-level. Fix.
natsort.py, skylog.py: __all__ was missing, add.
Add only items that already were under top-level.
__all__ = ['DBService', 'ServiceContext',
'get_record', 'get_record_list',
'make_record', 'make_record_array',
- #'log_result', 'transform_fields', 'TableAPI',
+ 'TableAPI',
+ #'log_result', 'transform_fields'
]
try:
import re as _re
_rc = _re.compile(r'\d+|\D+')
+__all__ = ['natsort_key', 'natsort', 'natsorted',
+ 'natsort_key_icase', 'natsort_icase', 'natsorted_icase']
+
def natsort_key(s):
"""Split string to numeric and non-numeric fragments."""
return [ not f[0].isdigit() and f or int(f, 10) for f in _rc.findall(s) ]
import skytools
+__all__ = ['getLogger']
+
# add TRACE level
TRACE = 5
logging.TRACE = TRACE