Attention is currently required from: dexter.

laforge has posted comments on this change by dexter. ( 
https://gerrit.osmocom.org/c/pysim/+/41508?usp=email )

Change subject: card_key_provider: add PostgreSQL support
......................................................................


Patch Set 4: Code-Review-1

(1 comment)

File pySim/card_key_provider.py:

https://gerrit.osmocom.org/c/pysim/+/41508/comment/7abd6bed_c71e9487?usp=email :
PS4, Line 229:             cur.execute("SELECT column_name FROM 
information_schema.columns where table_name = '%s';" % t)
> I believe here and in all other cur.execute statements you don't want to use 
> '%". See https://www. […]
yeah. this is actually true in any programming language: Always use the 
parameter expansion/susbstitution features of the library, never use format 
strings.



--
To view, visit https://gerrit.osmocom.org/c/pysim/+/41508?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Icba625c02a60d7e1f519b506a46bda5ded0537d3
Gerrit-Change-Number: 41508
Gerrit-PatchSet: 4
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Attention: dexter <[email protected]>
Gerrit-Comment-Date: Wed, 26 Nov 2025 11:54:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: daniel <[email protected]>

Reply via email to