Skip to content

Conversation

@remram44
Copy link
Contributor

@doutriaux1
Copy link
Contributor

@remram44 I will check to see if the server is even up at all. Thanks.

@aashish24
Copy link
Contributor

@remram44 could you please make a request against release? Master will need to move on. please refer to my email earlier.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well if we really want to make this python proper shouldn't this be:

raise CDMSError("Error in loadURI of %s" % uri)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

raise ExcType, argument is kind of an old way to write things, but is compatible with 2.x versions; I sticked with it since this is what is used throughout this file.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say let's make it clean so it will work when/if we move to Python 3.0. Since you brought that up, would you mind fixing it across the file? Thanks! Because the way it is now is also compatible with 2.x, so why bother changing it in the first place?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm certain 2to3 handles that, but sure, I can fire a regex at it.

@doutriaux1
Copy link
Contributor

awesome! Thanks @remram44

doutriaux1 added a commit that referenced this pull request Apr 30, 2015
Fixes typo in CDMS raise statements
@doutriaux1 doutriaux1 merged commit 54259b8 into master Apr 30, 2015
@doutriaux1 doutriaux1 deleted the fix-cdms-exceptions branch April 30, 2015 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants