Skip to content

Commit e70b69f

Browse files
committed
polishing
1 parent 4b7ead3 commit e70b69f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

splitio/storage/redis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ def get_all_splits(self):
204204
:rtype: list(splitio.models.splits.Split)
205205
"""
206206
keys = self._redis.keys(self._get_key('*'))
207-
_LOGGER.debug("Fetchting all Splits from redis: %s" % keys)
208207
to_return = []
209208
try:
209+
_LOGGER.debug("Fetchting all Splits from redis: %s" % keys)
210210
raw_splits = self._redis.mget(keys)
211211
_LOGGER.debug(raw_splits)
212212
for raw in raw_splits:
@@ -563,9 +563,9 @@ def put(self, events):
563563
"""
564564
key = self._EVENTS_KEY_TEMPLATE
565565
to_store = self._wrap_events(events)
566-
_LOGGER.debug("Adding Events to redis key %s" % (key))
567-
_LOGGER.debug(to_store)
568566
try:
567+
_LOGGER.debug("Adding Events to redis key %s" % (key))
568+
_LOGGER.debug(to_store)
569569
self._redis.rpush(key, *to_store)
570570
return True
571571
except RedisAdapterException:

0 commit comments

Comments
 (0)