Skip to content

Commit

Permalink
Reuse memcached code for gaememcached backend
Browse files Browse the repository at this point in the history
  • Loading branch information
sh4nks committed Mar 29, 2019
1 parent cafdef2 commit ced700f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flask_caching/backends/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,7 @@ def memcached(app, config, args, kwargs):


def gaememcached(app, config, args, kwargs):
args.append(config["CACHE_MEMCACHED_SERVERS"])
kwargs.update(dict(key_prefix=config["CACHE_KEY_PREFIX"]))
return MemcachedCache(*args, **kwargs)
return memcached(app, config, args, kwargs)


def saslmemcached(app, config, args, kwargs):
Expand Down

0 comments on commit ced700f

Please sign in to comment.