The final except statement was activated a few times whilst performing a #3

Merged
merged 1 commit into from Sep 8, 2011

Conversation

Projects
None yet
2 participants
Contributor

gciding commented Aug 31, 2011

The final except statement was activated a few times whilst performing 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 change made in the file, however, works.

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.
Owner

rossdakin commented Sep 8, 2011

Great, thanks for making the change!

I haven't done any testing of this project in a while. What do you think about other exceptions that unpack into two values; should we change them too?

./management/connection.py: except socket.gaierror, (n, desc):
./management/cloudfile.py: except IOError, (errno, string):

rossdakin added a commit that referenced this pull request Sep 8, 2011

Merge pull request #3 from goranstef/patch-1
Fix exception that breaks with Python 2.5

@rossdakin rossdakin merged commit 308660e into rossdakin:master Sep 8, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment