commit/galaxy-central: nsoranzo: Fix import bug for run_reports.sh . Remove unused imports.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ea936c90b939/ Changeset: ea936c90b939 Branch: stable User: nsoranzo Date: 2014-10-13 16:27:45+00:00 Summary: Fix import bug for run_reports.sh . Remove unused imports. Import bug: File "/opt/galaxy-central/lib/galaxy/webapps/reports/buildapp.py", line 25, in <module> class ReportsWebApplication( galaxy.web.framework.webapp.WebApplication ): AttributeError: 'module' object has no attribute 'webapp' The bug was introduced by commit d57655849ac4 . Affected #: 1 file diff -r 0215d23d79717f46e7715e209048606975693dd7 -r ea936c90b93933326dc3b163aaca361b5cafb5b7 lib/galaxy/webapps/reports/buildapp.py --- a/lib/galaxy/webapps/reports/buildapp.py +++ b/lib/galaxy/webapps/reports/buildapp.py @@ -3,22 +3,19 @@ """ import logging, atexit -import os, os.path, sys +import os, os.path from inspect import isclass -from paste.request import parse_formvars -from paste.util import import_string from paste import httpexceptions import pkg_resources from galaxy.util import asbool -import config import galaxy.model import galaxy.model.mapping -import galaxy.web.framework +import galaxy.web.framework.webapp log = logging.getLogger( __name__ ) @@ -31,7 +28,6 @@ them to the webapp. """ from galaxy.web.base.controller import BaseUIController - from galaxy.web.base.controller import ControllerUnavailable import galaxy.webapps.reports.controllers controller_dir = galaxy.webapps.reports.controllers.__path__[0] for fname in os.listdir( controller_dir ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org