Syntax enhancements
Did some syntax improvement by: -Removing extraneous parentheses. -Collapsing "if" statements. -Used set literal notation. -Fixed pep8 issue Change-Id: I321536058a76bf69af1d6b38d37f81a07a2f7108 Closes-Bug: #1397027
This commit is contained in:
@@ -63,7 +63,7 @@ def read_cached_file(filename, force_reload=False):
|
||||
cache_info['data'] = fap.read()
|
||||
cache_info['mtime'] = mtime
|
||||
reloaded = True
|
||||
return (reloaded, cache_info['data'])
|
||||
return reloaded, cache_info['data']
|
||||
|
||||
|
||||
def delete_cached_file(filename):
|
||||
|
||||
Reference in New Issue
Block a user