• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

修訂9cf8da72e11c90128b5bbe5b84122253067c8a35 (tree)
時間2012-06-02 01:12:15
作者bolkimen <bolkimen@yaho...>
CommiterCory Johns

Log Message

[#4254] ticket:64 fix line wrap

Change Summary

差異

--- a/Allura/allura/command/rssfeeds.py
+++ b/Allura/allura/command/rssfeeds.py
@@ -17,6 +17,7 @@ from forgeblog import version
1717 from forgeblog.main import ForgeBlogApp
1818 from allura.lib import exceptions
1919
20+html2text.BODY_WIDTH = 0
2021
2122 class MDHTMLParser(HTMLParser):
2223 def __init__(self):
@@ -181,7 +182,6 @@ class RssFeedsCommand(base.Command):
181182 parser.feed(content)
182183 parser.close()
183184 content = html2text.html2text(parser.result_doc, e.link)
184- #print content
185185
186186 updated = datetime.fromtimestamp(mktime(e.updated_parsed))
187187
@@ -196,8 +196,6 @@ class RssFeedsCommand(base.Command):
196196 post.make_slug(source=feed_url)
197197 post.commit()
198198
199- # TODO remove me
200- break
201199 session(BM.BlogPost).flush()
202200
203201 # paster pull-rss-feeds development.ini -a 4facfec6610b271748000005