Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cc-node
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
cc-node
Commits
6c9afe17
Commit
6c9afe17
authored
9 years ago
by
Antoine Millet
Browse files
Options
Downloads
Patches
Plain Diff
Added a workaround for a PEX bug
parent
536f8877
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/cc-node
+4
-1
4 additions, 1 deletion
bin/cc-node
with
4 additions
and
1 deletion
bin/cc-node
+
4
−
1
View file @
6c9afe17
...
...
@@ -15,9 +15,12 @@
# You should have received a copy of the GNU Lesser General Public License
# along with CloudControl. If not, see <http://www.gnu.org/licenses/>.
# FUCKING WORKAROUND FOR THE FUCKING PEX (FUCK!)
import
sys
if
'
/usr/lib/python2.7/dist-packages
'
not
in
sys
.
path
:
sys
.
path
.
append
(
'
/usr/lib/python2.7/dist-packages
'
)
import
os
import
sys
import
atexit
from
optparse
import
OptionParser
from
os.path
import
isfile
,
abspath
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment