[pitivi: 2/5] Only check for Git directory for _in_devel()
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi: 2/5] Only check for Git directory for _in_devel()
- Date: Fri, 3 Jun 2011 19:16:18 +0000 (UTC)
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]