@@ -74,6 +74,8 @@ def generate(abouts, template=None, variables=None):
7474 if about .license_file :
7575 # We want to create a dictionary which have the license short name as
7676 # the key and license text as the value
77+ print ("##################################################" )
78+ print (about .license_file )
7779 for license_text_name in about .license_file .value :
7880 if not license_text_name in captured_license :
7981 captured_license .append (license_text_name )
@@ -84,6 +86,8 @@ def generate(abouts, template=None, variables=None):
8486 license_key_and_context [license_key ] = about .license_file .value [license_text_name ]
8587 sorted_license_key_and_context = collections .OrderedDict (sorted (license_key_and_context .items ()))
8688 license_file_name_and_key [license_text_name ] = license_key
89+ print ("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! LIC KEY AND CONTEXT" )
90+ print (license_key_and_context )
8791
8892 # Convert/map the key in license expression to license name
8993 if about .license_expression .value and about .license_name .value :
@@ -117,6 +121,8 @@ def generate(abouts, template=None, variables=None):
117121
118122 # Get the current UTC time
119123 utcnow = datetime .datetime .utcnow ()
124+ print ("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ BEFORE Render" )
125+ print (license_key_and_context )
120126 rendered = template .render (
121127 abouts = abouts , common_licenses = COMMON_LICENSES ,
122128 license_key_and_context = sorted_license_key_and_context ,
0 commit comments