checkmate5 4.1.0.dev37__py3-none-any.whl → 4.1.0.dev38__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checkmate/management/helpers.py +2 -3
- {checkmate5-4.1.0.dev37.dist-info → checkmate5-4.1.0.dev38.dist-info}/METADATA +1 -1
- {checkmate5-4.1.0.dev37.dist-info → checkmate5-4.1.0.dev38.dist-info}/RECORD +7 -7
- {checkmate5-4.1.0.dev37.dist-info → checkmate5-4.1.0.dev38.dist-info}/WHEEL +0 -0
- {checkmate5-4.1.0.dev37.dist-info → checkmate5-4.1.0.dev38.dist-info}/entry_points.txt +0 -0
- {checkmate5-4.1.0.dev37.dist-info → checkmate5-4.1.0.dev38.dist-info}/licenses/LICENSE.txt +0 -0
- {checkmate5-4.1.0.dev37.dist-info → checkmate5-4.1.0.dev38.dist-info}/top_level.txt +0 -0
checkmate/management/helpers.py
CHANGED
|
@@ -106,8 +106,8 @@ def get_project(project_path, project_config, settings, backend):
|
|
|
106
106
|
project_class = project_config.get('project_class', 'Project')
|
|
107
107
|
ProjectClass = settings.models[project_class]
|
|
108
108
|
|
|
109
|
-
project
|
|
110
|
-
|
|
109
|
+
# Attempt to find the project by project_id
|
|
110
|
+
project = backend.filter(ProjectClass, {'pk': project_config['project_id']}).first()
|
|
111
111
|
|
|
112
112
|
# If the project doesn't exist, create a new one
|
|
113
113
|
if project is None:
|
|
@@ -117,4 +117,3 @@ def get_project(project_path, project_config, settings, backend):
|
|
|
117
117
|
backend.commit() # If your backend requires an explicit commit
|
|
118
118
|
|
|
119
119
|
return project
|
|
120
|
-
|
|
@@ -83,7 +83,7 @@ checkmate/lib/stats/helpers.py,sha256=X21Pb7dz3PWubDRoqUjbxwonl43TRxqKEcwyM80tS6
|
|
|
83
83
|
checkmate/lib/stats/mapreduce.py,sha256=rGdA_HninEZSeowtBn5R02c6wyT5dxcu-0T2ftlMnY0,782
|
|
84
84
|
checkmate/management/__init__.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
|
85
85
|
checkmate/management/decorators.py,sha256=iwhKnzeBJLKxpRVjvzwiRE63_zNpIBfaKLITauVph-0,24
|
|
86
|
-
checkmate/management/helpers.py,sha256=
|
|
86
|
+
checkmate/management/helpers.py,sha256=hZsewUdxm78VjLUJ1BfGUGmPvsbVOHqDfv534pvV3xI,4632
|
|
87
87
|
checkmate/management/commands/__init__.py,sha256=XAi0y8z1NviyGvLB68Oxnzr6Nw5AP8xgbcSSnc1Zcvw,766
|
|
88
88
|
checkmate/management/commands/alembic.py,sha256=DTWH8hcY6UmWDo0wMwcID_wQIa-es7nyJHV6p1_T4FQ,718
|
|
89
89
|
checkmate/management/commands/analyze.py,sha256=J1rawVEGjbrXT9ArfUVpfoLNs2JaFkV4mCrBnEIrXaw,1159
|
|
@@ -111,9 +111,9 @@ checkmate/scripts/manage.py,sha256=mpioBaxzirAKXZtbxO-y4dbOcc6UoP0MaAMsNuKHbz0,4
|
|
|
111
111
|
checkmate/settings/__init__.py,sha256=z32hPz-kGS-tTGa6dWCFjrrrbS_eagLd-YrqBP3gjWI,33
|
|
112
112
|
checkmate/settings/base.py,sha256=3WBXZITqoWepIja96bo5JTi-TDpQALPTCugL0E8z-yE,4551
|
|
113
113
|
checkmate/settings/defaults.py,sha256=JaR9H5fciWy4PMX3oqIeaui7HDzjWSIhsXZD3tj4mSc,2736
|
|
114
|
-
checkmate5-4.1.0.
|
|
115
|
-
checkmate5-4.1.0.
|
|
116
|
-
checkmate5-4.1.0.
|
|
117
|
-
checkmate5-4.1.0.
|
|
118
|
-
checkmate5-4.1.0.
|
|
119
|
-
checkmate5-4.1.0.
|
|
114
|
+
checkmate5-4.1.0.dev38.dist-info/licenses/LICENSE.txt,sha256=SGQTFjJQjkYGoK1PCFfMKpfgRLm3yL0h9Mq2o26sm2E,151451
|
|
115
|
+
checkmate5-4.1.0.dev38.dist-info/METADATA,sha256=Ujic6ikp2eP3e_E5kPwAhXJO-89ncByRsmmeAzYiACM,1262
|
|
116
|
+
checkmate5-4.1.0.dev38.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
117
|
+
checkmate5-4.1.0.dev38.dist-info/entry_points.txt,sha256=FbGnau5C4z98WmBYpMJqUzobQEr1AIi9aZApSavNojQ,60
|
|
118
|
+
checkmate5-4.1.0.dev38.dist-info/top_level.txt,sha256=tl6eIJXedpLZbcbmYEwlhEzuTaSt0TvIRUesOb8gtng,10
|
|
119
|
+
checkmate5-4.1.0.dev38.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|