mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:26:50 +08:00
fix syntax in uorb header generation script
This fixes syntax and indentation of a58d73b5d0
This commit is contained in:
@@ -44,10 +44,13 @@ import filecmp
|
|||||||
import argparse
|
import argparse
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import genmsg.template_tools
|
import genmsg.template_tools
|
||||||
except ImportError, e:
|
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 Windows system.")
|
print("Package empy not installed. Please run 'sudo apt-get install"
|
||||||
exit(1)
|
" 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"
|
__author__ = "Thomas Gubler"
|
||||||
__copyright__ = "Copyright (C) 2013-2014 PX4 Development Team."
|
__copyright__ = "Copyright (C) 2013-2014 PX4 Development Team."
|
||||||
|
|||||||
Reference in New Issue
Block a user