#NEWLINE# def __init__( self , path ) : #NEWLINE# #INDENT# self . logger = Logger . instance ( ) #NEWLINE# if os . path . exists ( path ) : #NEWLINE# #INDENT# parser = DockerfileParser ( path = path ) #NEWLINE# self . labels = self . labels #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . logger . error ( ( "Can't open Dockerfile at '%s'" % path ) ) #NEWLINE# raise DockerfileNotFoundError