simplified and remove unnecessary inner function definition
simplified and remove unnecessary inner function definition

pmquang/python-anyconfig,ssato/python-anyconfig,ssato/python-anyconfig,pmquang/python-anyconfig