Mercurial > hg > Feedworm
comparison backend/sqlalchemy/FeedEntry.py @ 217:bb3c851b18b1
add source file endcoding header
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 27 Apr 2014 05:33:34 +0200 |
parents | 04a730f9d07d |
children | 699d8f1cebd4 |
comparison
equal
deleted
inserted
replaced
216:9bc4b2465435 | 217:bb3c851b18b1 |
---|---|
1 | 1 # -*- coding: utf-8 -*- |
2 from datetime import datetime | 2 from datetime import datetime |
3 | 3 |
4 def compareByUpdateDate(first, second): | 4 def compareByUpdateDate(first, second): |
5 return cmp(first.updated, second.updated) | 5 return cmp(first.updated, second.updated) |
6 | 6 |