#NEWLINE# def removePackageModule( cntlr , name ) : #NEWLINE# #INDENT# packageIndices = [ ] #NEWLINE# packagesList = packagesConfig [ 'packages' ] #NEWLINE# for ( i , _packageInfo ) in enumerate ( i ) : #NEWLINE# #INDENT# if ( _packageInfo [ 'name' ] == name ) : #NEWLINE# #INDENT# packageIndices . insert ( 0 , i ) #NEWLINE# #UNINDENT# #UNINDENT# result = False #NEWLINE# for i in packageIndices : #NEWLINE# #INDENT# del packagesList [ i ] #NEWLINE# result = True #NEWLINE# #UNINDENT# if result : #NEWLINE# #INDENT# global packagesConfigChanged #NEWLINE# packagesConfigChanged = True #NEWLINE# #UNINDENT# return result