[PATCH 1/2] sourceviewer: pep8 fixes
- From: Sandro Bonazzola <sandro bonazzola gmail com>
- To: meld-list gnome org
- Subject: [PATCH 1/2] sourceviewer: pep8 fixes
- Date: Sun, 28 Jul 2013 08:36:24 +0200
From 25fda4829aa53f2ea6e4579c06ceb36e013c508f Mon Sep 17 00:00:00 2001
From: Sandro Bonazzola <sandro bonazzola gmail com>
Date: Sun, 28 Jul 2013 08:25:24 +0200
Subject: [PATCH 1/2] sourceviewer: pep8 fixes
---
meld/util/sourceviewer.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meld/util/sourceviewer.py b/meld/util/sourceviewer.py
index 9394870..6f30a90 100644
--- a/meld/util/sourceviewer.py
+++ b/meld/util/sourceviewer.py
@@ -182,6 +182,7 @@ class nullsourceview(_srcviewer):
def version_check(self):
pass
+
def _get_srcviewer():
for srcv in (gtksourceview210, gtksourceview24):
try:
@@ -190,8 +191,10 @@ def _get_srcviewer():
pass
return nullsourceview()
+
srcviewer = _get_srcviewer()
+
class MeldSourceView(srcviewer.GtkTextView):
__gtype_name__ = "MeldSourceView"
--
1.8.3.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]