[gedit] StandardError does not exist in py3



commit 349c7a43cdb0e29166676646ff4d8850ad9417e0
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sun Feb 24 16:14:31 2013 +0100

    StandardError does not exist in py3

 plugins/quickopen/quickopen/virtualdirs.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/quickopen/quickopen/virtualdirs.py b/plugins/quickopen/quickopen/virtualdirs.py
index 71fca2a..3f981c2 100644
--- a/plugins/quickopen/quickopen/virtualdirs.py
+++ b/plugins/quickopen/quickopen/virtualdirs.py
@@ -44,7 +44,7 @@ class VirtualDirectory(object):
 
             if info:
                 self._children.append((child, info))
-        except StandardError as e:
+        except Exception as e:
             pass
 
 class RecentDocumentsDirectory(VirtualDirectory):


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