Commit 7c35da4
committed
Applied a patch from rjsparks@nostrum.com:
This fixes an issue with /doc/ad2 that is python library version related:
ageseconds = (datetime.datetime.now()-doc.latest_event(type=3D'changed_document').time).total_seconds()
AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
The production system is using 2.6, and that was a 2.7 feature.
- Legacy-Id: 56651 parent 5d22df9 commit 7c35da4
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
656 | 656 | | |
657 | 657 | | |
658 | 658 | | |
659 | | - | |
| 659 | + | |
| 660 | + | |
660 | 661 | | |
661 | 662 | | |
662 | 663 | | |
| |||
0 commit comments