# - - - E f f o r t K e y . _ _ s t r _ _
def __str__(self):
'''Render self as a string.
'''
The intent of this method is to render the effort key in a human-friendly form. There are two different formats:
In effort keys through year number 90, the year keys are
four-digit numbers with left zeroes, occasionally followed
by a letter. Examples: "0901335 ", "0750027b".
For this form, we strip the leading zeroes from each part,
separate them with a hyphen, and suppress trailing
whitespace. For the examples shown, this method
would return "90-1335" and "75-27b".
Year keys 91 and up are four-letter codes followed by one
space. Example: "091NMZU ".
We strip the leading zero from the year number and add a
hyphen separator, and also suppress the trailing space.
For the example, we would return "91-NMZU".
#-- 1
return ('%s-%s' %
(self.year_no.lstrip('0'),
self.year_key.lstrip('0').rstrip()))