Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

actually use PYTHONPATH environment variable #93

Merged
merged 1 commit into from
Nov 30, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ module.exports =
env = Object.create process.env,
PYTHONPATH:
value: _.compact([process.env.PYTHONPATH, projDir, pythonPath]).join path.delimiter
enumerable: true
format = @messageFormat
for pattern, value of {'%m': 'msg', '%i': 'msg_id', '%s': 'symbol'}
format = format.replace(new RegExp(pattern, 'g'), "{#{value}}")
Expand Down