I've been (slowly) hacking Darcsweb into cleaner sub-components, and in my testing today encountered a curious oddity. I haven't had much time to debug it yet, but I'm hoping that perhaps somebody has had a similar enough experience to point me in the right direction when I actually do have time to sit down and debug.

I just completed transferring the logic to marshall from ``darcs changes --xml-output -s`` into my Patch model class. In Darcsweb this is the BuildPatchList class that creates Darcsweb Patches, which are very simple python object. (In my case the class is named ChangeLogHandler and it marshals Patch objects, which are derived from django.db.models.Model, which gives me out of the box relational database serialization (ORM).)

In testing this class I'm having a problem in trying to parse the local_date field of a patch tag. If I run darcs from my command line in the field I get the time zone "Eastern Standard Zone", but for some reason when darcs is called via the python script I appear to be getting the time zone "Ame", which of course isn't parsing as a time zone on the Python side.

Any ideas on what might be causing this?

--
--Max Battcher--
http://www.worldmaker.net/

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to