Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Sep 8, 2011

Conversation

gciding
Copy link
Contributor

@gciding 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.

…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.
@rossdakin
Copy link
Owner

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
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants