aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-15 17:20:38 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-03-15 17:20:38 +0100
commit9a1a50f7cb2f63071fe127a29fece79585ea4037 (patch)
tree61fce1c10fbda22fbd31feab3bd91ec7a9257cb7 /pyaggr3g470r/views
parentMinor changes to the documentation. (diff)
downloadnewspipe-9a1a50f7cb2f63071fe127a29fece79585ea4037.tar.gz
newspipe-9a1a50f7cb2f63071fe127a29fece79585ea4037.tar.bz2
newspipe-9a1a50f7cb2f63071fe127a29fece79585ea4037.zip
pylint check
Diffstat (limited to 'pyaggr3g470r/views')
-rw-r--r--pyaggr3g470r/views/api/common.py1
-rw-r--r--pyaggr3g470r/views/views.py3
2 files changed, 1 insertions, 3 deletions
diff --git a/pyaggr3g470r/views/api/common.py b/pyaggr3g470r/views/api/common.py
index 856b4bb9..b1b0cd73 100644
--- a/pyaggr3g470r/views/api/common.py
+++ b/pyaggr3g470r/views/api/common.py
@@ -24,7 +24,6 @@ routes :
import json
import logging
import dateutil.parser
-from copy import deepcopy
from functools import wraps
from werkzeug.exceptions import Unauthorized, BadRequest
from flask import request, g, session, Response
diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py
index 9d368c42..88835068 100644
--- a/pyaggr3g470r/views/views.py
+++ b/pyaggr3g470r/views/views.py
@@ -27,14 +27,13 @@ __copyright__ = "Copyright (c) Cedric Bonhomme"
__license__ = "AGPLv3"
import os
-import json
import string
import random
import hashlib
import datetime
from collections import namedtuple
from bootstrap import application as app, db
-from flask import render_template, request, flash, session, Response, \
+from flask import render_template, request, flash, session, \
url_for, redirect, g, current_app, make_response, jsonify
from flask.ext.login import LoginManager, login_user, logout_user, \
login_required, current_user, AnonymousUserMixin
bgstack15