aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'buildbot_gentoo_ci/db/projects.py')
-rw-r--r--buildbot_gentoo_ci/db/projects.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/buildbot_gentoo_ci/db/projects.py b/buildbot_gentoo_ci/db/projects.py
index 2393011..176be92 100644
--- a/buildbot_gentoo_ci/db/projects.py
+++ b/buildbot_gentoo_ci/db/projects.py
@@ -266,15 +266,11 @@ class ProjectsConnectorComponent(base.DBConnectorComponent):
)
def _row2dict_projects_pattern(self, conn, row):
- if row.search_end == '':
- search_end = None
- else:
- search_end = row.search_end
return dict(
id=row.id,
project_uuid=row.project_uuid,
search=row.search,
- search_end=search_end,
+ search_type=row.search_type,
start=row.start,
end=row.end,
status=row.status,