Update patch set 4

Patch Set 4:

(4 comments)

Patch-set: 4
Attention: {"person_ident":"Gerrit User 1000010 \u003c1000010@035e6965-6537-41bd-912c-053f3cf69326\u003e","operation":"REMOVE","reason":"\u003cGERRIT_ACCOUNT_1000010\u003e replied on the change"}
This commit is contained in:
Gerrit User 1000010
2026-03-18 08:40:39 +00:00
committed by Gerrit Code Review
parent 393d678c47
commit 5c514fca2b
2 changed files with 72 additions and 0 deletions

View File

@@ -16,6 +16,24 @@
"message": "I think the error here is that it should be \u0027or\u0027 instead of \u0027and\u0027. Only then the following code makes sense.", "message": "I think the error here is that it should be \u0027or\u0027 instead of \u0027and\u0027. Only then the following code makes sense.",
"revId": "27031e78d9b3f9c7c5d2c215c275098bf0f34bcb", "revId": "27031e78d9b3f9c7c5d2c215c275098bf0f34bcb",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326" "serverId": "035e6965-6537-41bd-912c-053f3cf69326"
},
{
"unresolved": false,
"key": {
"uuid": "7c197ba7_3a7ad2ba",
"filename": "pySim/global_platform/install_param.py",
"patchSetId": 3
},
"lineNbr": 58,
"author": {
"id": 1000010
},
"writtenOn": "2026-03-18T08:40:39Z",
"side": 0,
"message": "You\u0027re checking each parameter individually anyway, so this top-level if-statement is not needed. It\u0027s redundant, so I am removing it in this patch.",
"parentUuid": "d00b8813_e4d76196",
"revId": "27031e78d9b3f9c7c5d2c215c275098bf0f34bcb",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326"
} }
] ]
} }

View File

@@ -34,6 +34,24 @@
"revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b", "revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326" "serverId": "035e6965-6537-41bd-912c-053f3cf69326"
}, },
{
"unresolved": false,
"key": {
"uuid": "6a6df36a_1ea13900",
"filename": "pySim/global_platform/__init__.py",
"patchSetId": 3
},
"lineNbr": 901,
"author": {
"id": 1000010
},
"writtenOn": "2026-03-18T08:40:39Z",
"side": 1,
"message": "Done",
"parentUuid": "22e1f0a3_9b8a25df",
"revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326"
},
{ {
"unresolved": true, "unresolved": true,
"key": { "key": {
@@ -68,6 +86,24 @@
"revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b", "revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326" "serverId": "035e6965-6537-41bd-912c-053f3cf69326"
}, },
{
"unresolved": true,
"key": {
"uuid": "e1c76a65_c1199d38",
"filename": "pySim/global_platform/install_param.py",
"patchSetId": 3
},
"lineNbr": 67,
"author": {
"id": 1000010
},
"writtenOn": "2026-03-18T08:40:39Z",
"side": 1,
"message": "Well, this is literally what the code does:\n\n* `if system_specific_params:`\n * If system specific parameters are present,\n* `install_params_dict.append(...)`\n * add them to the install parameters.\n\nDo we really need that level of verbosity in comments?",
"parentUuid": "5e06b89d_f4093258",
"revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326"
},
{ {
"unresolved": true, "unresolved": true,
"key": { "key": {
@@ -84,6 +120,24 @@
"message": "interesting that this does not change in behavior.", "message": "interesting that this does not change in behavior.",
"revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b", "revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326" "serverId": "035e6965-6537-41bd-912c-053f3cf69326"
},
{
"unresolved": true,
"key": {
"uuid": "1cf491e1_af6f8640",
"filename": "tests/unittests/test_globalplatform.py",
"patchSetId": 3
},
"lineNbr": 298,
"author": {
"id": 1000010
},
"writtenOn": "2026-03-18T08:40:39Z",
"side": 1,
"message": "Not sure what you mean where, but let me explain why I am changing this line.\n\nAn empty string is not `None`, so `gen_install_parameters()` appends a single empty parameter. This causes the unit test to fail, so this is why I am removing the arguments here (this way they all become `None`).",
"parentUuid": "c798f8f3_49d13fda",
"revId": "9aeac8f5df6b9253f703f76dfb7bdadb7443479b",
"serverId": "035e6965-6537-41bd-912c-053f3cf69326"
} }
] ]
} }