maxtepkeev/python-redmine — pull request #65 by rconradharris (2014-11-03 22:08:12+00:00)
Title: Make `Redmine` class picklable

The `Redmine` class couldn't be pickled because the `gettatr` would attempt to
turn any attribute access into a `Resource`, even `__getstate__`.

The proposed fix treats attributes that begin with an underscore (and
double-underscore) as non-`Resource` attributes and returns their value as-is.

Fixes #64