+ new_txt = re.sub(datepd, up_date, txt)
+ if dates:
+ print "%s: %s->%s" % (book.slug, dates['olddate'], dates['date'])
+ if dates['overflow']:
+ print "oops, new date would overfow to the future, i'm not changing"
+ return
+ # fc.commit(new_txt, author=author, description=u"Automatyczne poprawienie daty przejścia do domeny publicznej z %s na %s" % (dates['olddate'], dates['date']))
+ else:
+ print "skipping %s" % book.slug