[sysadmin-bin: 145/168] Fix the fix to the fix
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 145/168] Fix the fix to the fix
- Date: Thu, 24 May 2012 20:03:38 +0000 (UTC)
commit 297524e5825d1fbd4a97ae7126cd805ca9862850
Author: Olav Vitters <olav vitters nl>
Date: Wed Sep 1 22:15:07 2010 +0200
Fix the fix to the fix
build-repo-list | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build-repo-list b/build-repo-list
index 9961609..9d76ef1 100755
--- a/build-repo-list
+++ b/build-repo-list
@@ -71,12 +71,12 @@ def iter_repos (paths, repo_func, include_pending=True):
path, force_section = p
else:
path, force_section = p, None
- if os.path.islink(path) or not os.path.isdir(path):
+ if not os.path.isdir(path):
continue
for repo in os.listdir(path):
repopath = os.path.join (path, repo)
# We check for ./refs to avoid non-git repository subdirs
- if not os.path.isdir(os.path.join(repopath, 'refs')):
+ if os.path.islink(repopath) or not os.path.isdir(os.path.join(repopath, 'refs')):
continue
repo = Repo(repopath)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]