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.


_______________________________________________
debian-security-tracker-commits mailing list
debian-security-tracker-commits@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-security-tracker-commits

Reply via email to