def _is_log_file(filename):
    (basename, extension) = os.path.splitext(filename)
    return ((extension == '.xml') and (not basename.endswith('-assets')))
def _is_log_file(filename):
    (basename, extension) = os.path.splitext(filename)
    return ((extension == '.xml') and (not basename.endswith('-assets')))