#1772: Simfactory: potentially serious problem with CACHE directory in the simulations directory -------------------------+-------------------------------------------------- Reporter: bmundim | Owner: Type: defect | Status: new Priority: critical | Milestone: ET_2015_05 Component: SimFactory | Version: development version Resolution: | Keywords: CACHE -------------------------+--------------------------------------------------
Comment (by bmundim):
Replying to [comment:14 rhaas]:
If you want to check if a file is a symbolic link (instead of checking
that it is not multiply hard-linked) you can also use os.path.islink. See https://stackoverflow.com/questions/11068419/check-if-file-is-symlink-in- python and https://docs.python.org/2/library/os.path.html#os.path.islink
and how would I know if the python runtime supports symlinks?
https://bugs.python.org/issue13143
in any case, as long as it works I am happy.