Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The final except statement was activated a few times whilst performin…

…g a big migration. It caused an exception because it was trying to unpack one value into two - which didn't work (Python 2.5) - The following, however, works.
  • Loading branch information...
commit 40c1bcde395f64b9e3593086a4c51de9702b9464 1 parent 6020a1c
@gciding gciding authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django_cloudfiles/management/commands/publish_cloudfiles.py
View
4 django_cloudfiles/management/commands/publish_cloudfiles.py
@@ -104,6 +104,6 @@ def handle(self, *args, **options):
except socket.timeout, e:
print ""
raise CommandError("Socket timeout: " + str(e))
- except socket.error, (errno, e):
+ except socket.error, e:
print ""
- raise CommandError("Socket error " + str(errno) + ": " + str(e))
+ raise CommandError("Socket error " + str(e))
Please sign in to comment.
Something went wrong with that request. Please try again.