Use Distribution's 'has_scripts()' method instead of directly accessing
its 'scripts' attribute.
1 file changed