[Git][security-tracker-team/security-tracker][fix_987283] Add verbose change

Anton Gladky (@gladk) gladk at debian.org
Fri May 26 06:01:45 BST 2023



Anton Gladky pushed to branch fix_987283 at Debian Security Tracker / security-tracker


Commits:
547f1afc by Anton Gladky at 2023-05-25T16:06:19+02:00
Add verbose change

- - - - -


1 changed file:

- lib/python/security_db.py


Changes:

=====================================
lib/python/security_db.py
=====================================
@@ -932,7 +932,8 @@ class DB:
                     if self.verbose:
                         print(f"Table {table} does not exist")
                     continue
-                print (f"Clearing table {table}")
+                if self.verbose:
+                    print (f"Clearing table {table}")
                 cursor.execute(f"DELETE FROM {table}")
             # The *_status tables are regenerated anyway, no need to
             # delete them here.



View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/547f1afc5197685b9e72673e2da22b5e96d4788f

-- 
View it on GitLab: https://salsa.debian.org/security-tracker-team/security-tracker/-/commit/547f1afc5197685b9e72673e2da22b5e96d4788f
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-security-tracker-commits/attachments/20230526/2ddcba5d/attachment.htm>


More information about the debian-security-tracker-commits mailing list