fix syntax in uorb header generation script

This fixes syntax and indentation of a58d73b5d0
This commit is contained in:
Thomas Gubler 2015-02-08 12:54:16 +01:00
parent 1c6cc8a745
commit 775e35ceaf
1 changed files with 7 additions and 4 deletions

View File

@ -44,10 +44,13 @@ import filecmp
import argparse
try:
import genmsg.template_tools
except ImportError, e:
print("Package empy not installed. Please run 'sudo apt-get install python-empy' on a Debian/Ubuntu system, 'sudo pip install empy' on a Mac OS system or 'easy_install empy' on Windows system.")
exit(1)
import genmsg.template_tools
except ImportError as e:
print("Package empy not installed. Please run 'sudo apt-get install"
" python-empy' on a Debian/Ubuntu system, 'sudo pip install"
" empy' on a Mac OS system or 'easy_install empy' on"
" a Windows system.")
exit(1)
__author__ = "Thomas Gubler"
__copyright__ = "Copyright (C) 2013-2014 PX4 Development Team."