comparison pylons_app/controllers/summary.py @ 429:01cf2c9bd7ee

added 200 last commits for summary page until issue #29 is resolved
author *** failed to import extension hggit: No module named hggit
date Thu, 26 Aug 2010 22:40:53 +0200
parents dee0e7eb0370
children 728fbb693183
comparison
equal deleted inserted replaced
428:dee0e7eb0370 429:01cf2c9bd7ee
85 def author_key_cleaner(k): 85 def author_key_cleaner(k):
86 k = person(k) 86 k = person(k)
87 k = k.replace('"', "'") #for js data compatibilty 87 k = k.replace('"', "'") #for js data compatibilty
88 return k 88 return k
89 89
90 for cs in repo: 90 for cs in repo[:200]:#added limit 200 until fix #29 is made
91 k = '%s-%s-%s' % (cs.date.timetuple()[0], cs.date.timetuple()[1], 91 k = '%s-%s-%s' % (cs.date.timetuple()[0], cs.date.timetuple()[1],
92 cs.date.timetuple()[2]) 92 cs.date.timetuple()[2])
93 timetupple = [int(x) for x in k.split('-')] 93 timetupple = [int(x) for x in k.split('-')]
94 timetupple.extend([0 for _ in xrange(6)]) 94 timetupple.extend([0 for _ in xrange(6)])
95 k = mktime(timetupple) 95 k = mktime(timetupple)