Skip to content

Instantly share code, notes, and snippets.

@yarikoptic
Created April 28, 2011 20:28
Show Gist options
  • Save yarikoptic/947266 to your computer and use it in GitHub Desktop.
Save yarikoptic/947266 to your computer and use it in GitHub Desktop.
$> quilt diff
--- a/src/pebl/taskcontroller/ec2ipy1.py
+++ b/src/pebl/taskcontroller/ec2ipy1.py
@@ -2,7 +2,11 @@ import sys, os, time
import ConfigParser
from itertools import groupby
-import ipython1.kernel.api as kernel
+try:
+ import ipython1.kernel.api as kernel
+except ImportError:
+ kernel = False
+
import boto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment