myPIM

Check-in [a61c3646a8]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix invocation of self.years()
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:a61c3646a856d5ca6e3ac02860afcfedb968b7ad6de96babd9b2c14a57b07f9a
User & Date: ajv-899-334-8894@vsta.org 2009-04-29 16:12:31
Context
2009-08-21
00:34
Expand error display check-in: a26f95e8ef user: ajv-899-334-8894@vsta.org tags: master, trunk
2009-04-29
16:12
Fix invocation of self.years() check-in: a61c3646a8 user: ajv-899-334-8894@vsta.org tags: master, trunk
2008-11-23
05:38
Fix usage for new "nm" check-in: 8c5b973784 user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to pim.py.

196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
			str = self.years(y, prefix = "would have been ", \
			    suffix = " old")
		    else:
			str = self.years(y, suffix = " old")
		    print "  birthday %s" % (str)

		elif d == "died":
		    print "  passed away %d years ago" % \
			(self.years(tm.y - ev.start.y))

		elif d == "anniversary":
		    if self.spouse <> None:
			if mentioned.get(self.spouse) <> None:
			    continue
		    sys.stdout.write(" anniversary")
		    if self.spouse <> None:







|
|







196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
			str = self.years(y, prefix = "would have been ", \
			    suffix = " old")
		    else:
			str = self.years(y, suffix = " old")
		    print "  birthday %s" % (str)

		elif d == "died":
		    print "  passed away %s" % \
			(self.years(tm.y - ev.start.y, suffix=" ago"))

		elif d == "anniversary":
		    if self.spouse <> None:
			if mentioned.get(self.spouse) <> None:
			    continue
		    sys.stdout.write(" anniversary")
		    if self.spouse <> None: