when using feed=continuous with changes()
Relaying on existing configurations seemed to cause problems if system setup differenced from the regular Ubuntu configuration (for example on Debian Squeeze)
To support tornado.gen mechanism, we'll now on accept callback as a keyword argument for Database.set. Fixes GH-34
You may call either method on the `trombi.Server` instance: - add_user(name, password, callback, doc=None) Add a user with a name, password and a callback. Optionally add the default user doc with the doc arg - get_user(name, callback) Return the user's document - update_user(user_doc, password, callback) Update a user's document. If you want the password not to be changed, use `None` as value. - delete_user(user_doc, callback) Simply delete a user document
…o longer needed(was it?)
This should be abstracted to a more common level, but for now this is sufficient
This commit adds support for Python 3 in such a way that exactly the same code works with both Python 2 and Python 3, i.e. no 2to3 or other conversions are needed. I tested the code by running the unit tests with Python 2.6 and 3.2, and Tornado 2.0. Fixes #23.
Importing trombi in setup.py caused problems when using buildout, e.g. since there is no globally installed Tornado version available. Then the "from trombi import version" statement causes the buildout to fail!