openSUSE/osc2 — pull request #19 by bergmannf (2014-09-18 11:51:39+00:00)
Title: Distributions

Added RemoteDistribution class to the `remote.py` file to allow usage of the `/distributions`-endpoints.

Also added a `all()`-method to RemoteModel & RemoteDistribution that retrieves all objects (only implemented for distributions right now) and objectifies them.

The `_attributes_to_properties` function is needed, because the Schema differs between querying all or a single distribution.