docutil/docpdf.py
changeset 1780 c52d1460cea8
parent 1744 69dfdb26f600
child 1826 91796f408540
--- a/docutil/docpdf.py	Sat Aug 19 17:17:54 2017 +0300
+++ b/docutil/docpdf.py	Sat Aug 19 18:12:20 2017 +0300
@@ -42,7 +42,7 @@
                 try:
                     res = _winreg.QueryValue(_winreg.HKEY_LOCAL_MACHINE, 'Software\\Adobe\\%s\\%s\\InstallPath' % (key, numver))
                     return res
-                except:
+                except Exception:
                     pass
     return None
 
@@ -66,7 +66,7 @@
     if wx.Platform == '__WXMSW__':
         try:
             readerpath = get_acroversion()
-        except:
+        except Exception:
             wx.MessageBox("Acrobat Reader is not found or installed !")
             return None