Skip to content

Commit f46308f

Browse files
committed
Remove dangling comments
Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent 405f923 commit f46308f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/attributecode/gen.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,7 @@ def generate(location, base_dir, reference_dir=None, fetch_license=False):
257257
# Write generated LICENSE file
258258
license_key_name_context_url_list = about.dump_lic(dump_loc, license_dict)
259259
if license_key_name_context_url_list:
260-
# Do not help user to fill in the license name
261-
# if not about.license_name.present:
262-
# about.license_name.value = lic_name
263-
# about.license_name.present = True
260+
# use value not "presence"
264261
if not about.license_file.present:
265262
about.license_file.value = OrderedDict()
266263
for lic_key, lic_name, lic_context, lic_url in license_key_name_context_url_list:

0 commit comments

Comments
 (0)