[stickynotes-antispam] Revert "Delete pastes which cause a segmentation fault"



commit c1ec20a2baee1777127c99eefaf733569085fceb
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Fri Aug 16 14:56:46 2019 +0200

    Revert "Delete pastes which cause a segmentation fault"
    
    This reverts commit 178e8cceeca7daa26e4b291343fa85be842ffc9f.

 stickynotes-antispam.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/stickynotes-antispam.py b/stickynotes-antispam.py
index 86360b7..be7efd0 100755
--- a/stickynotes-antispam.py
+++ b/stickynotes-antispam.py
@@ -103,10 +103,8 @@ def main():
         try:
             paste = client.get(paste_id)
         except:
-            print(f"=> error processing {paste_id}, deleting")
-            client.delete(paste_id)
+            print(f"=> error processing {paste_id}")
             continue
-
         if check_if_spam(paste):
             client.delete(paste_id)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]