bzr selftest failure (bundles ?)

John Arbash Meinel john at arbash-meinel.com
Sun Jul 9 08:10:57 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthieu MOY wrote:
> John Arbash Meinel said:
>> I don't know why it is failing on your machine. It seems like maybe
>> local_time_offset() is returning something weird.
> 
> If it helps, I'm living in probably one of the only country in the world
> having a non-integer local time offset (India) ;-).
> 
>>>> import bzrlib.osutils
>>>> print bzrlib.osutils.local_time_offset()
> 19800
> 

That's exactly what was happening. The attached bundle should fix the
problem for you.

Basically, the bug was just that we weren't taking the minute portion *60.

But I updated the doctests (and it did fail), so I'm pretty sure I got
it right this time.

Can you let me know if this makes everything pass?

Thanks,

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEsKwBJdeBCYSNAAMRAogCAJ4obypFuiNh/TRQgGflV/nmuwFqIQCgl5Q7
JsQsoBgaU8dtmzESFvJiGgw=
=K+pZ
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unpack_highres_timezone.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060709/60e98c97/attachment.diff 


More information about the bazaar mailing list