mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove dependency on simplejson; convert everything over to using the json module in the python standard library.
This commit is contained in:
@@ -4,10 +4,11 @@
|
||||
Terminates a DRMAA job if given a job id and (appropriate) user id.
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
import errno
|
||||
import json
|
||||
import os
|
||||
import pwd
|
||||
import sys
|
||||
#import drmaa
|
||||
new_path = [ os.path.join( os.getcwd(), "lib" ) ]
|
||||
new_path.extend( sys.path[1:] ) # remove scripts/ from the path
|
||||
@@ -15,8 +16,6 @@ sys.path = new_path
|
||||
|
||||
from galaxy import eggs
|
||||
import pkg_resources
|
||||
pkg_resources.require("simplejson")
|
||||
import simplejson as json
|
||||
pkg_resources.require("drmaa")
|
||||
import drmaa
|
||||
|
||||
|
||||
Reference in New Issue
Block a user