From 650d26d32ea7f44e8b11f3105bc4de6201fdbc46 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Wed, 25 Jan 2006 04:01:18 +0000 Subject: [PATCH] magic-removal: removed django.parts.media -- it's cruft left over from Ellington that isn't helpful in Django at all git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2124 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/parts/media/__init__.py | 0 django/parts/media/photos.py | 6 ------ 2 files changed, 6 deletions(-) delete mode 100644 django/parts/media/__init__.py delete mode 100644 django/parts/media/photos.py diff --git a/django/parts/media/__init__.py b/django/parts/media/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/django/parts/media/photos.py b/django/parts/media/photos.py deleted file mode 100644 index a14b3de19b..0000000000 --- a/django/parts/media/photos.py +++ /dev/null @@ -1,6 +0,0 @@ -import re - -def get_thumbnail_url(photo_url, width): - bits = photo_url.split('/') - bits[-1] = re.sub(r'(?i)\.(gif|jpg)$', '_t%s.\\1' % width, bits[-1]) - return '/'.join(bits)