~cedric/freshermeat

3f089f8fd9035b5014fada32c44042850870d5c5 — C├ędric Bonhomme 22 days ago 145c39c
fixed various depreciations.
M freshermeat/scripts/create_user.py => freshermeat/scripts/create_user.py +1 -1
@@ 1,7 1,7 @@
#! /usr/bin/python
# -*- coding:utf-8 -*

from werkzeug import generate_password_hash
from werkzeug.security import generate_password_hash

from freshermeat.models import User
from freshermeat.bootstrap import db

M freshermeat/web/views/admin.py => freshermeat/web/views/admin.py +1 -1
@@ 36,7 36,7 @@ from sqlalchemy import desc
from flask_admin import Admin, AdminIndexView
from flask_admin.contrib.sqla import ModelView
from flask_admin.menu import MenuLink
from werkzeug import generate_password_hash
from werkzeug.security import generate_password_hash

from freshermeat.web.views.common import admin_permission
from freshermeat.bootstrap import db

M freshermeat/web/views/organization.py => freshermeat/web/views/organization.py +1 -1
@@ 22,7 22,7 @@
import os
import uuid
from flask import Blueprint, render_template, request, abort, redirect, url_for, flash
from werkzeug.contrib.atom import AtomFeed
#from werkzeug.contrib.atom import AtomFeed
from flask_login import login_required

from freshermeat.bootstrap import db, application

M freshermeat/web/views/project.py => freshermeat/web/views/project.py +1 -1
@@ 23,7 23,7 @@ import os
import uuid
from flask import Blueprint, render_template, redirect, url_for, flash, request, abort
from flask_login import login_required, current_user
from werkzeug.contrib.atom import AtomFeed
#from werkzeug.contrib.atom import AtomFeed

from freshermeat.bootstrap import db, application
from freshermeat.models import (

M freshermeat/web/views/submission.py => freshermeat/web/views/submission.py +1 -1
@@ 20,7 20,7 @@
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

from flask import Blueprint, render_template, redirect, url_for, flash
from werkzeug import generate_password_hash
from werkzeug.security import generate_password_hash
from sqlalchemy import desc
from flask_login import login_required, current_user
from flask_paginate import Pagination, get_page_args

M freshermeat/web/views/user.py => freshermeat/web/views/user.py +1 -1
@@ 21,7 21,7 @@

from flask import Blueprint, render_template, redirect, url_for, flash, abort
from flask_login import login_required, current_user
from werkzeug import generate_password_hash
from werkzeug.security import generate_password_hash
from freshermeat.bootstrap import db

from freshermeat.models import User

M freshermeat/web/views/views.py => freshermeat/web/views/views.py +1 -1
@@ 30,7 30,7 @@ from flask import (
    send_from_directory,
    request,
)
from werkzeug.contrib.atom import AtomFeed
#from werkzeug.contrib.atom import AtomFeed
from sqlalchemy import desc

from freshermeat.models import Release, Project, CVE, News

M freshermeat/workers/fetch_cve.py => freshermeat/workers/fetch_cve.py +1 -1
@@ 31,7 31,7 @@ logger = logging.getLogger(__name__)

sem = asyncio.Semaphore(20)

cve_search = CVESearch()
cve_search = CVESearch(base_url='')


async def get_cve(*args, **kwargs):