[damned-lies] Removed duplicate imports



commit f442312143c50ca2de825241d8718c4842aef3f3
Author: Claude Paroz <claude 2xlibre net>
Date:   Fri Feb 24 19:28:45 2017 +0100

    Removed duplicate imports

 people/forms.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/people/forms.py b/people/forms.py
index a456932..c620441 100644
--- a/people/forms.py
+++ b/people/forms.py
@@ -114,9 +114,7 @@ class TeamJoinForm(forms.Form):
 def get_image_size(url):
     """ Returns width and height (as tuple) of the image poited at by the url
         Code partially copied from http://effbot.org/zone/pil-image-size.htm """
-    from urllib.request import urlopen
     from PIL import ImageFile
-    from http.client import InvalidURL
 
     try:
         im_file = urlopen(url)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]