From: Arfrever Frehtes Taifersar Arahesis Date: Wed, 13 Mar 2013 04:09:01 +0000 (+0100) Subject: portage.tests.getTestDirs(): Delete obsolete handling of .svn directories. X-Git-Tag: v2.2.0_alpha167~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ccf4ff7cbb010f547603b86d0cac733259e5aead;p=portage.git portage.tests.getTestDirs(): Delete obsolete handling of .svn directories. --- diff --git a/pym/portage/tests/__init__.py b/pym/portage/tests/__init__.py index 492ece44b..ee1e5639c 100644 --- a/pym/portage/tests/__init__.py +++ b/pym/portage/tests/__init__.py @@ -1,5 +1,5 @@ # tests/__init__.py -- Portage Unit Test functionality -# Copyright 2006-2011 Gentoo Foundation +# Copyright 2006-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 from __future__ import print_function @@ -70,15 +70,12 @@ def getTestFromCommandLine(args, base_path): def getTestDirs(base_path): TEST_FILE = b'__test__' - svn_dirname = b'.svn' testDirs = [] # the os.walk help mentions relative paths as being quirky # I was tired of adding dirs to the list, so now we add __test__ # to each dir we want tested. for root, dirs, files in os.walk(base_path): - if svn_dirname in dirs: - dirs.remove(svn_dirname) try: root = _unicode_decode(root, encoding=_encodings['fs'], errors='strict')