Skip to content

Commit 839a30e

Browse files
committed
Fixed #274
Use an OrderedDict to remember the order in which its contents are added.
1 parent 3b831d5 commit 839a30e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/attributecode/gen.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ def generate(location, base_dir, mapping, license_text_location, fetch_license,
226226
about.about_resource.present = True
227227

228228
if gen_license:
229+
about.license_file.value = OrderedDict()
229230
# Write generated LICENSE file
230231
license_key_name_context_url_list = about.dump_lic(dump_loc, license_dict)
231232
if license_key_name_context_url_list:

0 commit comments

Comments
 (0)