[Scummvm-git-logs] scummvm-icons master -> 5c6a0e9fabafe5808ade79baff606d191961ce79

sev- noreply at scummvm.org
Sat Jun 4 16:18:04 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-icons' repo located at https://github.com/scummvm/scummvm-icons .

Summary:
5c6a0e9fab ICONS: Fix workaround for the old LIST format


Commit: 5c6a0e9fabafe5808ade79baff606d191961ce79
    https://github.com/scummvm/scummvm-icons/commit/5c6a0e9fabafe5808ade79baff606d191961ce79
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-06-04T18:17:38+02:00

Commit Message:
ICONS: Fix workaround for the old LIST format

Changed paths:
    gen-set.py


diff --git a/gen-set.py b/gen-set.py
old mode 100644
new mode 100755
index 4d98fa8..b0deac8
--- a/gen-set.py
+++ b/gen-set.py
@@ -244,16 +244,6 @@ def get_listfile_lasthash() -> Tuple[str, List[str]]:
 
     last_entry_values = listfile_entries[-1].split(LIST_DELIM)
 
-    if len(last_entry_values) == 1 or len(last_entry_values) == 2:
-        # remove this if/else after LIST file is committed with FIRST_HASH and just use else print/quit()
-        if len(listfile_entries) == 1:
-            print("WARNING: Workaround - fixing first line of LIST file! Pls remove this fix after the first run")
-            last_entry_values.append(FIRST_HASH)
-            listfile_entries[0] = listfile_entries[0].rstrip() + "," + FIRST_HASH
-    else:
-        print("Wrong LIST entry format - please add inputDate argument yyyymmdd and run the script again")
-        sys.exit(1)
-
     return last_entry_values[2], listfile_entries
 
 




More information about the Scummvm-git-logs mailing list