making rosmake print narrower for brian's 80 character terminal #2398
This commit is contained in:
parent
89990544d2
commit
fcb497b637
|
@ -131,10 +131,10 @@ class CompileThread(threading.Thread):
|
||||||
#self.rosmakeall.print_all("[ Building package [%s] %d of %d]"%( pkg, build_count, total_pkgs));
|
#self.rosmakeall.print_all("[ Building package [%s] %d of %d]"%( pkg, build_count, total_pkgs));
|
||||||
|
|
||||||
if self.argument:
|
if self.argument:
|
||||||
spaces = 50 - len(pkg) - len(self.argument)
|
spaces = max(1, 30 - len(pkg) - len(self.argument))
|
||||||
self.rosmakeall.print_all (">>> %s >>> [ make %s ]%s[ %d of %d ]"%(pkg, self.argument, ' '*spaces, build_count, total_pkgs), thread_name=self.name)
|
self.rosmakeall.print_all (">>> %s >>> [ make %s ]%s[ %d of %d ]"%(pkg, self.argument, ' '*spaces, build_count, total_pkgs), thread_name=self.name)
|
||||||
else:
|
else:
|
||||||
spaces = 50 - len(pkg)
|
spaces = max(1, 30 - len(pkg))
|
||||||
self.rosmakeall.print_all (">>> %s >>> [ make ]%s[ %d of %d ]"%(pkg, ' '*spaces, build_count, total_pkgs), thread_name=self.name)
|
self.rosmakeall.print_all (">>> %s >>> [ make ]%s[ %d of %d ]"%(pkg, ' '*spaces, build_count, total_pkgs), thread_name=self.name)
|
||||||
|
|
||||||
(result, result_string) = self.rosmakeall.build(pkg, self.argument, self.build_queue.robust_build)
|
(result, result_string) = self.rosmakeall.build(pkg, self.argument, self.build_queue.robust_build)
|
||||||
|
|
Loading…
Reference in New Issue