[pitivi] Apply my patch to make xdg.get_dirs working



commit 7394756df782a02b401ede00f31a5d4d579593e2
Author: Thibault Saunier <tsaunier gnome org>
Date:   Sun Jul 4 15:49:42 2010 -0400

    Apply my patch to make xdg.get_dirs working

 pitivi/settings.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/settings.py b/pitivi/settings.py
index d5e2c35..acd29f9 100644
--- a/pitivi/settings.py
+++ b/pitivi/settings.py
@@ -88,7 +88,7 @@ def get_dir(path, autocreate=True):
     return path
 
 def get_dirs(glob):
-    return [d for d in glob.split(os.path.pathsep) if os.path.exists(dir)]
+    return [d for d in glob.split(os.path.pathsep) if os.path.exists(d)]
 
 def get_env_dir(var, default, autocreate=True):
     return get_dir(get_env_default(var, default))



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