# HG changeset patch # User Madhusudan.C.S # Date 1258010342 -19800 # Node ID 32b000ad43b9b514d5e951f8502b05fa51b194ab # Parent 09032925ad9d2777f1be0f8d60b328d8390a01a7 Commented the print line. diff -r 09032925ad9d -r 32b000ad43b9 project/kiwipycon/user/utils.py --- a/project/kiwipycon/user/utils.py Wed Nov 11 16:03:10 2009 +0530 +++ b/project/kiwipycon/user/utils.py Thu Nov 12 12:49:02 2009 +0530 @@ -66,7 +66,7 @@ filename = handle_uploaded_photo(user, request.FILES['photo']) if filename: profile.photo = filename - print photo, filename + #print photo, filename profile.url = data.get("url") profile.about = data.get("about") @@ -111,7 +111,7 @@ th = int(round(nw / pr)) image = image.resize((nw, th), Image.ANTIALIAS) t = int(round(( th - nh ) / 2.0)) - print((0, t, nw, t + nh)) + #print((0, t, nw, t + nh)) image = image.crop((0, t, nw, t + nh)) else: # photo aspect matches the destination ratio