-
Notifications
You must be signed in to change notification settings - Fork 992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move scripts out of lib/tool_shed. #2093
Conversation
The minor tag means it changes made by devteam members to features released this cycle - it doesn't apply here. |
@@ -4,7 +4,7 @@ | |||
import urllib | |||
import urllib2 | |||
|
|||
sys.path.insert(1, os.path.join( os.path.dirname( __file__ ), os.pardir, os.pardir, os.pardir ) ) | |||
sys.path.insert( 1, 'lib' ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be
sys.path.insert(1, os.path.join(os.path.dirname( __file__ ), os.pardir, os.pardir, os.pardir, 'lib'))
|
@jmchilton Where is this documented? I should probably bookmark that page. |
👍 It wasn't really obvious to me at first that scripts belong in |
@jmchilton In addition to the above, with which I agree, I don't see |
@davebx sys.path.insert() still need to be updated in many Python files moved in |
This PR was merged without a milestone attached. |
No description provided.