Skip to content

Commit

Permalink
Flask 8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
soapy1 committed Nov 17, 2016
1 parent bdeeccc commit 60e190f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions conda/core/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def make_link_operation(source_path_info):
prefix_placehoder = source_path_info.prefix_placeholder
file_mode = source_path_info.file_mode
elif (getattr(source_path_info, "no_link", None) is not None or
source_path_info.node_type == NodeType.softlink):
source_path_info.node_type == NodeType.softlink):
link_type = LinkType.copy
prefix_placehoder, file_mode = '', None
else:
Expand Down Expand Up @@ -198,7 +198,7 @@ def make_link_operation(source_path_info):
prefix_placehoder = source_path_info.prefix_placeholder
file_mode = source_path_info.file_mode
elif (getattr(source_path_info, "no_link", None) is not None or
source_path_info.node_type == NodeType.softlink):
source_path_info.node_type == NodeType.softlink):
link_type = LinkType.copy
prefix_placehoder, file_mode = '', None
else:
Expand Down
8 changes: 5 additions & 3 deletions conda/exports.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@
from conda.base.context import get_prefix as context_get_prefix, non_x86_linux_machines # NOQA
non_x86_linux_machines = non_x86_linux_machines

from conda.base.constants import DEFAULT_CHANNELS, FileMode # NOQA
from conda.models.package_info import NodeType
from conda._vendor.auxlib.entity import EntityEncoder
from conda.base.constants import DEFAULT_CHANNELS # NOQA
from conda.models.package_info import NodeType # NOQA
from conda._vendor.auxlib.entity import EntityEncoder # NOQA
NodeType = NodeType
EntityEncoder = EntityEncoder
get_prefix = partial(context_get_prefix, conda.base.context.context)
get_default_urls = lambda: DEFAULT_CHANNELS

Expand Down
1 change: 0 additions & 1 deletion conda/gateways/disk/read.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def collect_all_info_for_package(extracted_package_directory):

has_prefix_files = read_has_prefix(join(info_dir, 'has_prefix'))
no_link = read_no_link(info_dir)
soft_links = read_soft_links(extracted_package_directory, files)

path_info_files = []
for f in files:
Expand Down

0 comments on commit 60e190f

Please sign in to comment.