[mod] renaming

This commit is contained in:
Laurent Peuch 2016-02-28 09:49:22 +01:00
parent 9a24c8dec5
commit 43628d480f

View File

@ -5,11 +5,11 @@ CACHE_VERSION = 2
def remove_superficial_options(options):
noname_options = options.copy()
del noname_options["name"]
if "text" in noname_options:
del noname_options["text"]
return noname_options
cleaned_options = options.copy()
del cleaned_options["name"]
if "text" in cleaned_options:
del cleaned_options["text"]
return cleaned_options
class Cache(object):