[gedit] Fixed syntax error in splitting datadirs
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: svn-commits-list gnome org
- Subject: [gedit] Fixed syntax error in splitting datadirs
- Date: Fri, 22 May 2009 03:22:55 -0400 (EDT)
commit 3d972c85e808af52c980ba0a5e442c902d40f44f
Author: Jesse van den Kieboom <jvanden grijpc10 epfl ch>
Date: Fri May 22 09:22:43 2009 +0200
Fixed syntax error in splitting datadirs
This should have never been committed in the first place, but it was late last night...
---
plugins/snippets/snippets/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/snippets/snippets/__init__.py b/plugins/snippets/snippets/__init__.py
index fb6b6a5..fe69d53 100644
--- a/plugins/snippets/snippets/__init__.py
+++ b/plugins/snippets/snippets/__init__.py
@@ -54,7 +54,7 @@ class SnippetsPlugin(gedit.Plugin):
dirs = []
- for d in dirs.split(os.pathsep)
+ for d in datadirs.split(os.pathsep):
d = os.path.join(d, 'gedit-2', 'plugins', 'snippets')
if os.path.isdir(d):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]