#NEWLINE# def buildLevelMenu( self , parent , item ) : #NEWLINE# #INDENT# for level in logLevelNames : #NEWLINE# #INDENT# pymel . menuItem ( p = parent , checkBox = ( levelsDict [ item . level ] == level ) , l = level , c = pymel . Callback ( self . changeLevel , item , parent ) )