def _get_language(filename):
	if filename.count('.') < 1:
		logger.info('No suffix in filename. Text assumed.')
		return _default
	suffix = filename.rsplit('.', 1)[1]
	logger.info('filename suffix: ' % suffix)
	return _languages.get(suffix.lower(), _default)
dataset/ETHPy150Open jackyyf/paste.py/src/providers/ubuntupaste.py/_get_language/operator `+` -> `%`