• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

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

allura


Commit MetaInfo

Révision489d48926e6ced8964b59dd51cc77e302d525131 (tree)
l'heure2010-04-24 01:46:32
AuteurRick Copeland <rcopeland@geek...>
CommiterRick Copeland

Message de Log

Fix another problem with the context object

Change Summary

Modification

--- 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')