Skip to content

Commit

Permalink
fix testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoTian committed Aug 19, 2016
1 parent c6c2b3d commit 07feaf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion conda/cli/main_clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ def find_lock(file_ending=LOCK_EXTENSION, extra_path=None):
except ImportError:
pass

for dir in lock_dirs + list(extra_path):
lock_dirs = lock_dirs + list(extra_path) if extra_path else lock_dirs
for dir in lock_dirs:
if not os.path.exists(dir):
continue
for dn in os.listdir(dir):
Expand Down

0 comments on commit 07feaf8

Please sign in to comment.