ooici/coi-services — pull request #136 by lukecampbell (2012-06-01 13:56:02+00:00)
Title: Patches unicode issue

Most of our code uses the pattern `if isinstance(s, str):` or `if type(s) is str` in lieu of the unicode supported pattern `if isinstance(s,basestr)` so I patched the code that uses the results from the query directly which was causing issues (because it's unicode).

So now the following will work:
```
results = discovery_client.parse('belongs to "abc123" and in "def456"')
objects = [resource_registry_cli.read(result) for result in results]
```