def update_license_file(args, top_level, year=datetime.now(UTC).year):
 license_template = top_level.child('admin').child('LICENSE.template')
 with license_template.open() as input_file:
  with top_level.child('LICENSE').open('w') as output_file:
   output_file.write(input_file.read().format(current_year=year))

def update_license_file ( args , top_level , year = datetime . now ( UTC ) . year ) : license_template = top_level . child ( 'admin' ) . child ( 'LICENSE.template' ) with license_template . open ( ) as input_file : with top_level . child ( 'LICENSE' ) . open ( 'w' ) as output_file : output_file . write ( input_file . read ( ) . format ( current_year = year ) )
update the license file to include the current year .