def update_version_and_revision(font):
 version_number = roboto_data.get_version_number()
 version_record = ('Version %s; %d' % (version_number, date.today().year))
 font_data.set_name_record(font, 5, version_record)
 font['head'].fontRevision = float(version_number)

def update_version_and_revision ( font ) : version_number = roboto_data . get_version_number ( ) version_record = ( 'Version %s; %d' % ( version_number , date . today ( ) . year ) ) font_data . set_name_record ( font , 5 , version_record ) font [ 'head' ] . fontRevision = float ( version_number )
update version and revision numbers .