Fix smart close brace
use six package from prymatex.utils