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

View File

@@ -45,8 +45,11 @@ 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.")
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"