• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

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

allura


Commit MetaInfo

修订版879d114b45372189d41c0d6e3d618c365718940b (tree)
时间2011-08-17 00:55:21
作者Dave Brondsema <dbrondsema@geek...>
CommiterDave Brondsema

Log Message

remove incorrect sub_ids kwarg (older Ming version had a bug and ignored it)

Signed-off-by: Dave Brondsema <dbrondsema@geek.net>

更改概述

差异

--- a/ForgeTracker/forgetracker/model/ticket.py
+++ b/ForgeTracker/forgetracker/model/ticket.py
@@ -82,7 +82,7 @@ class Globals(MappedClass):
8282 def not_closed_mongo_query(self):
8383 return dict(
8484 status={'$in': list(self.set_of_open_status_names)})
85-
85+
8686 @property
8787 def closed_query(self):
8888 return ' or '.join(['status:'+name for name in self.set_of_closed_status_names])
@@ -217,7 +217,7 @@ class Ticket(VersionedArtifact):
217217 created_date = FieldProperty(datetime, if_missing=datetime.utcnow)
218218
219219 super_id = FieldProperty(schema.ObjectId, if_missing=None)
220- sub_ids = FieldProperty([schema.ObjectId], if_missing=None)
220+ sub_ids = FieldProperty([schema.ObjectId])
221221 ticket_num = FieldProperty(int, required=True)
222222 summary = FieldProperty(str)
223223 description = FieldProperty(str, if_missing='')