driftx/Telephus — pull request #34 by thobbs (2012-04-17 16:19:01+00:00)
Title: Remove translate

This pull request removes translate.py and all version-specific translation.

With the last pull request, I thought that the translation layer would still be useful, but I now think it's more of a hassle than it's worth. In Cassandra 0.7, you have to set the ``replication_factor`` attribute of a ``KsDef``. In 1.1, the request will fail if you set it. This means that at the least, we would need to track those versions and change behavior in Telephus based on the api_version. Furthermore, ``replication_factor`` isn't even needed with NetworkTopologyStrategy, so it just adds a possibility of cluttering things there.

The translation later might have been useful for the 0.7 to 0.8 transition, but I think it's time for it to go. It provides very little benefit at this point and has the downside of being potentially confusing.