--- a/Utilities/__init__.py Sun Dec 28 11:32:19 2014 +0100
+++ b/Utilities/__init__.py Mon Dec 29 11:52:44 2014 +0100
@@ -1455,7 +1455,7 @@
pyVer = 2
elif ext in py3Ext and ext not in py2Ext:
pyVer = 3
- else:
+ elif source:
if isinstance(source, basestring):
line0 = source.splitlines()[0]
else: