diff options
Diffstat (limited to 'import_catkin_packages.py')
-rwxr-xr-x | import_catkin_packages.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/import_catkin_packages.py b/import_catkin_packages.py index e68e146a227d..79e44aac7fa4 100755 --- a/import_catkin_packages.py +++ b/import_catkin_packages.py @@ -35,6 +35,8 @@ class PackageBase(object): self.description = re.sub('<[^<]+?>', '', package.description) # Put it on one line to motivate packagers to make shorter descriptions self.description = re.sub('\n', ' ', self.description) + # Convert tabs to spaces + self.description = re.sub('\t', ' ', self.description) # Multiple consecutive spaces turned into one self.description = re.sub('([ ]+)', ' ', self.description) # Only take the first sentence (keep short description) |