Skip to content

Commit 3912c38

Browse files
AEGEE Specifics
-- Skip symlinks in storage/filesystem -- Do not retrieve the displayname during discover
1 parent f549b1d commit 3912c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vdirsyncer/storage/filesystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def discover(cls, path, **kwargs):
5353

5454
@classmethod
5555
def _validate_collection(cls, path):
56-
if not os.path.isdir(path):
56+
if not os.path.isdir(path) or os.path.islink(path):
5757
return False
5858
if os.path.basename(path).startswith('.'):
5959
return False

0 commit comments

Comments
 (0)