def make_graph(filename, dep_info, sect, gtype):
 dependencies_graph(filename, dep_info)
 sect.append(Paragraph(('%simports graph has been written to %s' % (gtype, filename))))

def make_graph ( filename , dep_info , sect , gtype ) : dependencies_graph ( filename , dep_info ) sect . append ( Paragraph ( ( '%simports graph has been written to %s' % ( gtype , filename ) ) ) )
generate a dependencies graph and add some information about it in the reports section .