allura
Revisão | cab744e83bf0e4eb36062c36e77ce94c943045c8 (tree) |
---|---|
Hora | 2011-10-06 02:14:56 |
Autor | Rick Copeland <rcopeland@geek...> |
Commiter | Rick Copeland |
[#2020] Make the artifact_reference.cls a bson.Binary() as it is supposed to be
Signed-off-by: Rick Copeland <rcopeland@geek.net>
@@ -89,7 +89,7 @@ def refresh_commit_repos(all_commit_ids, repo): | ||
89 | 89 | ref = ArtifactReferenceDoc(dict( |
90 | 90 | _id=index_id, |
91 | 91 | artifact_reference=dict( |
92 | - cls=dumps(Commit), | |
92 | + cls=bson.Binary(dumps(Commit)), | |
93 | 93 | project_id=repo.app.config.project_id, |
94 | 94 | app_config_id=repo.app.config._id, |
95 | 95 | artifact_id=oid), |