[pitivi: 2/5] Only check for Git directory for _in_devel()



commit ab1fd526507331fc2ae7a927cb5a7efacddb3b90
Author: Stéphane Maniaci <stephane maniaci gmail com>
Date:   Fri May 13 16:53:20 2011 -0700

    Only check for Git directory for _in_devel()
    
    SVN/CVS are so nineties.

 pitivi/configure.py.in |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/configure.py.in b/pitivi/configure.py.in
index 52a22b1..e50b850 100644
--- a/pitivi/configure.py.in
+++ b/pitivi/configure.py.in
@@ -43,9 +43,7 @@ def _get_root_dir():
 
 def _in_devel():
     rd = _get_root_dir()
-    return (os.path.exists(os.path.join(rd, '.svn')) or
-            os.path.exists(os.path.join(rd, 'CVS')) or
-            os.path.exists(os.path.join(rd, '.git')))
+    return os.path.exists(os.path.join(rd, '.git'))
 
 def get_pixmap_dir():
     """ Returns the directory for program-only pixmaps """



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