Use os.path.relpath instead of str.startswith to find special ancestors (#6)
Use os.path.relpath instead of str.startswith to find special ancestors (#6)

This avoids false positives like:

  >>> directory = '/a'
  >>> special = '/ab'
  >>> special.startswith(os.path.realpath(directory))
  True
keszybz/followme