[sysadmin-bin: 143/168] Ignore symbolic links
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin: 143/168] Ignore symbolic links
- Date: Thu, 24 May 2012 20:03:28 +0000 (UTC)
commit 168a106bb7e0e3ee35af4dea3c3b6c4e6d9b10f2
Author: Olav Vitters <olav vitters nl>
Date: Wed Sep 1 22:08:26 2010 +0200
Ignore symbolic links
Symbolic links have been created to work around a bug in git. We
should never have symbolic links, so just ignore them.
See https://bugzilla.gnome.org/show_bug.cgi?id=626836
build-repo-list | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/build-repo-list b/build-repo-list
index 5ced327..a7fba2c 100755
--- a/build-repo-list
+++ b/build-repo-list
@@ -71,7 +71,7 @@ def iter_repos (paths, repo_func, include_pending=True):
path, force_section = p
else:
path, force_section = p, None
- if not os.path.isdir(path):
+ if not os.path.isdir(path) and not os.path.islink(path):
continue
for repo in os.listdir(path):
repopath = os.path.join (path, repo)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]