execfile() has been removed from Python 3 #8

Merged
merged 1 commit into from Apr 21, 2014

Conversation

Projects
None yet
4 participants
@dogmgeen
Contributor

dogmgeen commented Apr 18, 2014

With Python 3 doing away with execfile(), the only option now is exec(), which requires python code as input to execute. The virtualenv string is still kept as a global variable.

I have tested this code with Python 3.3, Python 2.7, and Python 2.6 on OpenShift, and it works out of the box on each of these cartridges.

execfile() has been removed from Python 3. The only option available …
…now is exec(), which requires python code as input to execute. The virtualenv string is still kept as a global variable

mfojtik added a commit that referenced this pull request Apr 21, 2014

Merge pull request #8 from koulevprime/master
execfile() has been removed from Python 3

@mfojtik mfojtik merged commit 5304734 into openshift-quickstart:master Apr 21, 2014

@mfojtik

This comment has been minimized.

Show comment Hide comment
@mfojtik

mfojtik Apr 21, 2014

Contributor

Thanks!

Contributor

mfojtik commented Apr 21, 2014

Thanks!

@VojtechVitek

This comment has been minimized.

Show comment Hide comment
@VojtechVitek

VojtechVitek Jul 17, 2014

Thanks @koulevprime.

Thanks @koulevprime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment