Skip to content

Commit

Permalink
Fix LGTM alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
dbartol committed Mar 29, 2020
1 parent 0952064 commit 3eef274
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/sync-files.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import sys
import json
import re
from os import path
path = os.path

file_groups = {}

Expand Down Expand Up @@ -118,7 +118,7 @@ def sync_identical_files(emit_error):
master_file_picker = lambda files: None
elif len(sys.argv) == 2:
if sys.argv[1] == "--latest":
master_file_picker = lambda files: choose_latest_file(files)
master_file_picker = choose_latest_file
elif os.path.isfile(sys.argv[1]):
master_file_picker = lambda files: choose_master_file(sys.argv[1], files)
else:
Expand Down

0 comments on commit 3eef274

Please sign in to comment.