Skip to content

Commit

Permalink
Fix pylint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Aug 9, 2017
1 parent 9bd382f commit 6b11ac9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions superset/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@
try:
with open(MANIFEST_FILE, 'r') as f:
manifest = json.load(f)

def get_manifest_file(filename):
return '/static/assets/dist/' + manifest.get(filename, '')
get_manifest_file = lambda x: '/static/assets/dist/' + manifest.get(x, '')
except Exception:
print("no manifest file found at " + MANIFEST_FILE)

Expand Down

0 comments on commit 6b11ac9

Please sign in to comment.