#NEWLINE# def _save_image( self ) : #NEWLINE# #INDENT# image = self . docker . get_image ( self . tag ) #NEWLINE# buf = io . BytesIO ( ) #NEWLINE# buf . write ( self . data ) #NEWLINE# buf . seek ( 0 ) #NEWLINE# return buf