#NEWLINE# def ignore_dirs_check( d ) : #NEWLINE# #INDENT# ignore = os . path . abspath ( d ) #NEWLINE# if ( not os . path . isdir ( ignore ) ) : #NEWLINE# #INDENT# raise argparse . ArgumentTypeError ( '"{0}" is not directory.' . format ( d ) ) #NEWLINE# #UNINDENT# return d