mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
fix syntax in uorb header generation script
This fixes syntax and indentation of a58d73b5d0
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user