diff options
author | Sascha Silbe <sascha-pgp@silbe.org> | 2013-07-29 13:47:47 (GMT) |
---|---|---|
committer | Sascha Silbe <sascha-pgp@silbe.org> | 2013-07-29 13:47:47 (GMT) |
commit | 4239ce71b66a92e0bd157e819042a55283ed90bb (patch) | |
tree | af8dac99a5382519726bd99618e1385a37c986c7 /gdatastore | |
parent | 7752b80101762e1b4c80a28009a3b4ed268d9e69 (diff) |
add FIXME
Diffstat (limited to 'gdatastore')
-rw-r--r-- | gdatastore/datastore.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdatastore/datastore.py b/gdatastore/datastore.py index cfb6074..9350209 100644 --- a/gdatastore/datastore.py +++ b/gdatastore/datastore.py @@ -591,6 +591,9 @@ class InternalApi(object): if not os.access(path, os.R_OK): raise ValueError('Invalid path given.') + # FIXME: requesting deletion of the _symlink_ is OK, we + # only need to take care to delete the symlink rather than + # the symlink target if delete_after and not os.access(os.path.dirname(path), os.W_OK): raise ValueError('Deletion requested for read-only directory') |