Signed-off-by: Gui Chen <gui.chen@intel.com>
"""
try:
fn()
- except Exception as msg:
+ except Exception, msg:
if self.errorsAreFatal:
raise
else:
# with this program; if not, write to the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+from __future__ import with_statement
import os, sys
import stat
import tempfile
# with this program; if not, write to the Free Software Foundation, Inc., 59
# Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+from __future__ import with_statement
import os
import sys
import errno
-#!/usr/bin/setenv python
+#!/usr/bin/env python
#
# Copyright (c) 2011 Intel, Inc.
#