• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

allura


Commit MetaInfo

Revisão489d48926e6ced8964b59dd51cc77e302d525131 (tree)
Hora2010-04-24 01:46:32
AutorRick Copeland <rcopeland@geek...>
CommiterRick Copeland

Mensagem de Log

Fix another problem with the context object

Mudança Sumário

Diff

--- a/pyforge/pyforge/controllers/root.py
+++ b/pyforge/pyforge/controllers/root.py
@@ -77,8 +77,11 @@ class RootController(BaseController):
7777
7878 def _cleanup_request(self):
7979 ming.orm.ormsession.ThreadLocalORMSession.flush_all()
80- for msg in c.queued_messages:
81- g._publish(**msg)
80+ try:
81+ for msg in c.queued_messages:
82+ g._publish(**msg)
83+ except TypeError:
84+ pass
8285 ming.orm.ormsession.ThreadLocalORMSession.close_all()
8386
8487 @expose('pyforge.templates.project_list')