#NEWLINE# def _clear_context( ) : #NEWLINE# #INDENT# '\n    Clear any lxc variables set in __context__\n    ' #NEWLINE# for var in [ x for x in __context__ if x . startswith ( 'nspawn.' ) ] : #NEWLINE# #INDENT# log . trace ( "Clearing __context__['{0}']" . format ( var ) ) #NEWLINE# __context__ . pop ( var , None )