diff options
author | Joar Wandborg <git@wandborg.com> | 2011-12-06 23:05:47 +0100 |
---|---|---|
committer | Joar Wandborg <git@wandborg.com> | 2011-12-06 23:05:47 +0100 |
commit | 4535f7597f112443d8997bbd6b8a445612c2440d (patch) | |
tree | 7a1de22929f99f69f9b77231bfcacf3acac9d9d9 /mediagoblin/views.py | |
parent | 72567762e36c849ffe8172b6cea4ca1be682e511 (diff) | |
download | mediagoblin-4535f7597f112443d8997bbd6b8a445612c2440d.tar.lz mediagoblin-4535f7597f112443d8997bbd6b8a445612c2440d.tar.xz mediagoblin-4535f7597f112443d8997bbd6b8a445612c2440d.zip |
Bug 681 - Comments from reviewing the new video merge
in mediagoblin.media_types and submodules
- Moved VideoThumbnailer.errors initialization to VideoThumbnailer.__init__
- Cleaned up the image.processing imports
- Removed default ``None`` from get_media_manager(_media_type)
in mediagoblin.views
- Removed media_types import
- Removed sys import, and passing of sys to root.html template
Diffstat (limited to 'mediagoblin/views.py')
-rw-r--r-- | mediagoblin/views.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mediagoblin/views.py b/mediagoblin/views.py index cd6aba9b..1e1db6c3 100644 --- a/mediagoblin/views.py +++ b/mediagoblin/views.py @@ -14,14 +14,11 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -import sys - from mediagoblin import mg_globals from mediagoblin.tools.pagination import Pagination from mediagoblin.tools.response import render_to_response from mediagoblin.db.util import DESCENDING from mediagoblin.decorators import uses_pagination -from mediagoblin import media_types @@ -36,8 +33,7 @@ def root_view(request, page): request, 'mediagoblin/root.html', {'media_entries': media_entries, 'allow_registration': mg_globals.app_config["allow_registration"], - 'pagination': pagination, - 'sys': sys}) + 'pagination': pagination}) def simple_template_render(request): |