meld r1318 - trunk/vc
- From: vincele svn gnome org
- To: svn-commits-list gnome org
- Subject: meld r1318 - trunk/vc
- Date: Fri, 3 Apr 2009 07:59:31 +0000 (UTC)
Author: vincele
Date: Fri Apr 3 07:59:31 2009
New Revision: 1318
URL: http://svn.gnome.org/viewvc/meld?rev=1318&view=rev
Log:
Search for .cvsignore in ${HOME}
Modified:
trunk/vc/cvs.py
Modified: trunk/vc/cvs.py
==============================================================================
--- trunk/vc/cvs.py (original)
+++ trunk/vc/cvs.py Fri Apr 3 07:59:31 2009
@@ -140,8 +140,8 @@
cvsfiles = map(lambda x: x[1], matches)
# ignored
try:
- ignored = open( os.path.join(directory, "%s/.cvsignore" % os.environ["HOME"] )).read().split()
- except (IOError,KeyError):
+ ignored = open(os.path.join(os.environ["HOME"], ".cvsignore")).read().split()
+ except (IOError, KeyError):
ignored = []
try:
ignored += open( os.path.join(directory, ".cvsignore")).read().split()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]