[Sugar-devel] [PATCH][sugar] Model._get_mount_point loops forever

Martin Abente martin.abente.lahaye at gmail.com
Fri Jun 24 15:48:16 EDT 2011

Sorry I didn't explain well.

This patch is not necessary right now, but it will be required when/if
the "document's folder in journal" feature is accepted.

Otherwise, under common circumstances the mount point for document's
folder files will be the same as '/' and in the current "while true"
logic it would loop forever.

On Fri, Jun 24, 2011 at 12:41 PM, Simon Schampijer <simon at schampijer.de> wrote:
> On 06/09/2011 06:11 PM, Martin Abente wrote:
>> Fixes the stop condition, so it won't loop forever when
>> the object_id belongs to the local FS. In that case, it will
>> return "None" to avoid ambiguity with what we refer to "/".
>> Signed-off-by: Martin Abente<martin.abente.lahaye at gmail.com>
> Hi Martin,
> can you give a bit of background on the patch about a specific case it
> fixes. Is there a use-case I can use for testing? A ticket open about it?
> Thanks,
>   Simon

More information about the Sugar-devel mailing list