commit/galaxy-central: dannon: api/histories import cleanup, remove unused Params cruft.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/8effd49e233e/ Changeset: 8effd49e233e User: dannon Date: 2013-04-02 20:35:18 Summary: api/histories import cleanup, remove unused Params cruft. Affected #: 1 file diff -r c554d8795650fc155b2b2610bed3fe4f1e31c1f1 -r 8effd49e233eccfb0cc4f11cc1ff67da13cbb655 lib/galaxy/webapps/galaxy/api/histories.py --- a/lib/galaxy/webapps/galaxy/api/histories.py +++ b/lib/galaxy/webapps/galaxy/api/histories.py @@ -1,19 +1,11 @@ """ API operations on a history. """ -import logging, os, string, shutil, urllib, re, socket -from cgi import escape, FieldStorage -from galaxy import util, datatypes, jobs, web, util +import logging +from galaxy import web, util from galaxy.web.base.controller import BaseAPIController, UsesHistoryMixin from galaxy.web import url_for -from galaxy.util.sanitize_html import sanitize_html -from galaxy.model.orm import * -import galaxy.datatypes -from galaxy.util.bunch import Bunch - -import pkg_resources -pkg_resources.require( "Routes" ) -import routes +from galaxy.model.orm import desc log = logging.getLogger( __name__ ) @@ -59,7 +51,6 @@ Displays information about a history. """ history_id = id - params = util.Params( kwd ) deleted = util.string_as_bool( deleted ) # try to load the history, by most_recently_used or the given id @@ -91,7 +82,6 @@ POST /api/histories Creates a new history. """ - params = util.Params( payload ) hist_name = None if payload.get( 'name', None ): hist_name = util.restore_text( payload['name'] ) 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