Greetings,

For the record.
Should one want to increase the length of the prefix used for
'hashing' the xdb xml files according to username/JID, currently the
first two characters form the subdirectory,  does it suffice to change
all occurences of "0:2" with "0:4" say?

XDB.PY: Three occurences of "file[0:2]" (PyMSNt 0.11)

HOUSEKEEP.PY:  One occurence of "file[0:2]" (PyMSNt 0.11); (Auxiliary
helper file)

All the file handling logic is kept in XDB.PY at the moment, which
makes this increased length-of-hash change straight forward.


Sincerely,

David
From [EMAIL PROTECTED]  Tue Jul 11 00:47:11 2006
From: [EMAIL PROTECTED] (James Bunton)
Date: Tue Jul 11 00:47:16 2006
Subject: [py-transports] PyMSNt Hashed xdb directory files - hash length
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>

On 11/07/2006, at 7:43 AM, David E Freitas wrote:

> Greetings,
>
> For the record.
> Should one want to increase the length of the prefix used for
> 'hashing' the xdb xml files according to username/JID, currently the
> first two characters form the subdirectory,  does it suffice to change
> all occurences of "0:2" with "0:4" say?
>
> XDB.PY: Three occurences of "file[0:2]" (PyMSNt 0.11)
>
> HOUSEKEEP.PY:  One occurence of "file[0:2]" (PyMSNt 0.11); (Auxiliary
> helper file)
>
> All the file handling logic is kept in XDB.PY at the moment, which
> makes this increased length-of-hash change straight forward.
>
>
> Sincerely,
>
> David

Yes, that's correct.

---

James

Reply via email to