Skip to content

Commit

Permalink
Bugfix: in api.py, ignore key-interface if not specified
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
  • Loading branch information
awwad committed Oct 9, 2019
1 parent 4d1e28e commit a3ffbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda_build/api.py
Expand Up @@ -394,7 +394,7 @@ def update_index(dir_paths, config=None, force=False, check_md5=False, remove=Fa
with open(current_index_versions) as f:
current_index_versions = yaml.safe_load(f)

if os.path.lexists(key_interface):
if key_interface is not None and os.path.lexists(key_interface):
# TODO: Update location of authenticate module when it's published in
# conda.common.
from .authenticate import private_key_from_bytes
Expand Down

0 comments on commit a3ffbdf

Please sign in to comment.