5 Commits

Author SHA1 Message Date
Petr Viktorin
97aba6b14b Make time and offset arguments to Signature optional
If these are left blank, use git_signature_now to insert the current time.
Specifying one but not the other causes a TypeError.
Test inlcluded.
2012-09-07 23:51:36 +02:00
J. David Ibáñez
edcd803e7e Remove the __authors__ var from py files 2012-07-18 12:12:04 +02:00
J. David Ibáñez
6195491596 Add/update copyright header of each file
And update my email address.
2012-07-18 12:07:17 +02:00
J. David Ibáñez
dd33369fba signature: minor test addition 2011-11-26 13:21:40 +01:00
J. David Ibáñez
a50c886cbb signature: add bytes accessors for name/email
Now Signature.email returns unicode. The name and email are available as
byte strings through the Signature._name and Signature._email accessors
respectively. Signature._encoding returns the encoding used in the
signature.
2011-11-25 00:08:39 +01:00