diff options
-rw-r--r-- | rrs/views.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/rrs/views.py b/rrs/views.py index 432e30ac03..fae34d641b 100644 --- a/rrs/views.py +++ b/rrs/views.py @@ -77,15 +77,6 @@ class Raw(): """ @staticmethod - def get_re_all(): - """ Get all Recipes """ - cur = connection.cursor() - cur.execute("""SELECT id, pn, pv, summary - FROM layerindex_recipe; - """) - return Raw.dictfetchall(cur) - - @staticmethod def get_re_by_mantainer_and_date(maintainer, date_id): """ Get Recipes based on Maintainer and Recipe Maintainer History """ recipes = [] @@ -215,18 +206,6 @@ class Raw(): return Raw.dictfetchall(cur) @staticmethod - def get_reupg_by_dates(start_date, end_date): - """ Get Recipe Upgrade for the milestone """ - cur = connection.cursor() - cur.execute("""SELECT id, recipe_id, maintainer_id, author_date, commit_date - FROM rrs_recipeupgrade - WHERE commit_date >= %s - AND commit_date <= %s - ORDER BY commit_date DESC; - """, [start_date, end_date]) - return Raw.dictfetchall(cur) - - @staticmethod def get_reupg_by_dates_and_recipes(start_date, end_date, recipes_id): """ Get Recipe Upgrade for the milestone based on Recipes """ recipes = str(recipes_id).strip('[]') |