Skip to content

Commit

Permalink
Fix exit (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertnishihara authored and edoakes committed Oct 10, 2019
1 parent ee0c4fc commit 67a9a41
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions exercises/colab01-03.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"!pip install bs4\n",
"\n",
"# A hack to force the runtime to restart, needed to include the above dependencies.\n",
"exit()"
"import os\n",
"os._exit()"
]
},
{
Expand Down Expand Up @@ -902,7 +903,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.6.7"
},
"toc": {
"base_numbering": 1,
Expand Down
5 changes: 3 additions & 2 deletions exercises/colab04-05.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"!pip install ray[debug]==0.7.5\n",
"\n",
"# A hack to force the runtime to restart, needed to include the above dependencies.\n",
"exit()"
"import os\n",
"os._exit()"
]
},
{
Expand Down Expand Up @@ -480,7 +481,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.4"
"version": "3.6.7"
},
"toc": {
"base_numbering": 1,
Expand Down
3 changes: 2 additions & 1 deletion exercises/colab06-07.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"!pip install ray[debug]==0.7.5\n",
"\n",
"# A hack to force the runtime to restart, needed to include the above dependencies.\n",
"exit()"
"import os\n",
"os._exit()"
]
},
{
Expand Down

0 comments on commit 67a9a41

Please sign in to comment.