Philipp Hörist pushed to branch storage at gajim / gajim


Commits:
f3f8fcd1 by Philipp Hörist at 2023-06-24T13:54:00+02:00
Remove print

- - - - -


1 changed file:

- gajim/common/storage/archive2/storage.py


Changes:

=====================================
gajim/common/storage/archive2/storage.py
=====================================
@@ -412,7 +412,7 @@ def _insert_row(
         if with_entitykey is not None:
             values['entitykey'] = with_entitykey
   
-        log.error('Insert into %s: %s', row_data.get_table_name(), values)
+        log.info('Insert into %s: %s', row_data.get_table_name(), values)
         try:
             cursor = self._con.execute(row_data.get_insert_stmt(), values)
         except sqlite.IntegrityError as error:
@@ -452,7 +452,6 @@ def upsert_row(self, row_data: DbUpsertRowDataBase) -> int:
         log.info('Upsert into %s: %s', row_data.get_table_name(), values)
         row = self._con.execute(row_data.get_upsert_stmt(), values).fetchone()
         if row is None:
-            print(row_data.get_select_stmt())
             row = self._con.execute(row_data.get_select_stmt(), 
values).fetchone()
 
         self._delayed_commit()



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/f3f8fcd15d803edadea041ef1be397910b6ac6e1

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/f3f8fcd15d803edadea041ef1be397910b6ac6e1
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to