Skip to content

Commit

Permalink
Fixed unoptimized component fallback warning
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 12, 2016
1 parent 144ca85 commit 15779b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topo/optimized/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
try:
from optimized import * # pyflakes:ignore (API import)
except ImportError:
print "WARNING: Install distutils and Cython to build optimized component, " \
print "WARNING: Install distutils and Cython required to build optimized component, " \
"falling back to unoptimized components."
from unoptimized import * # pyflakes:ignore (API import)

1 comment on commit 15779b7

@jbednar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new warning doesn't look any clearer than the old one; should it have said ""WARNING: Optimized components can only be built if distutils and Cython are installed; falling back to unoptimized components."?

Please sign in to comment.