mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix sys.path.insert() after #2093.
This commit is contained in:
@@ -3,7 +3,7 @@ import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir ) )
|
||||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir, 'lib' ) )
|
||||
|
||||
from tool_shed.util.basic_util import INSTALLATION_LOG
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import argparse
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir ) )
|
||||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir, 'lib' ) )
|
||||
|
||||
import boto
|
||||
|
||||
|
||||
@@ -11,11 +11,11 @@ from datetime import datetime, timedelta
|
||||
from time import strftime
|
||||
from optparse import OptionParser
|
||||
|
||||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir ) )
|
||||
|
||||
import sqlalchemy as sa
|
||||
from sqlalchemy import and_, distinct, false, not_
|
||||
|
||||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir, 'lib' ) )
|
||||
|
||||
import galaxy.webapps.tool_shed.config as tool_shed_config
|
||||
import galaxy.webapps.tool_shed.model.mapping
|
||||
from galaxy.util import send_mail as galaxy_send_mail
|
||||
|
||||
@@ -2,7 +2,7 @@ import argparse
|
||||
import os
|
||||
import sys
|
||||
|
||||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir ) )
|
||||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir, 'lib' ) )
|
||||
|
||||
import galaxy.config as galaxy_config
|
||||
import galaxy.model
|
||||
|
||||
Reference in New Issue
Block a user