cloudkitty/cloudkitty/storage_state
Luka Peschke 58d85968fa Fix StateManager.set_state() logic
This fixes the logic of the StateManager's set_state() method: if, by
accident, the state of an identifier is set to the same timestamp as it
currently is at, we won't attempt to create another object.

The 'uq_cloudkitty_storage_states_identifier' constraint was preventing a bug
from happening, but this fixes the code logic.

Change-Id: I530e63dbd67c1357d4aac964fffcdb45ce495768
2019-08-20 16:04:38 +02:00
..
alembic Removing author identification in all files 2019-07-22 12:21:54 +00:00
__init__.py Fix StateManager.set_state() logic 2019-08-20 16:04:38 +02:00
migration.py Removing author identification in all files 2019-07-22 12:21:54 +00:00
models.py Removing author identification in all files 2019-07-22 12:21:54 +00:00