cloudkitty/cloudkitty/storage/gnocchi
Luka Peschke cfc53b4883 Ensure compatibility with all versions of gnocchiclient.
This makes sure that the gnocchi storage backend is compatible with all
versions of gnocchiclient. Starting with version 5.0.0 (which is not stable
yet), it returns python datetime objects instead of timestamps
(see c14f5a484d).

As soon as a gnocchiclient version > to 4.0 is considered stable, the try/except
block can be removed and a constraint python-gnocchiclient>=5.0 may be set in
requirements.txt.

Change-Id: If1816b6926e8048ff05908a15fc0870050a5718a
2017-12-06 11:36:07 +01:00
..
__init__.py Ensure compatibility with all versions of gnocchiclient. 2017-12-06 11:36:07 +01:00