Skip to content

Commit 025c5a9

Browse files
committed
Clean up . printing
1 parent d2e5285 commit 025c5a9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/main/java/org/scijava/plugins/scripting/python/RebuildEnvironment.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
@Plugin(type = Command.class, label = "Rebuild Python environment")
5656
public class RebuildEnvironment implements Command {
5757

58-
private static final int _PROGRESS_LENGTH = 80;
58+
private static final int _PROGRESS_LENGTH = 75;
5959

6060
@Parameter
6161
private Logger log;
@@ -168,7 +168,10 @@ private void report(String s, Consumer<String> reporter) {
168168
}
169169
}
170170
else {
171-
progressPrinted = 0;
171+
if (progressPrinted > 0) {
172+
System.err.println();
173+
progressPrinted = 0;
174+
}
172175
reporter.accept(s);
173176
}
174177
}

0 commit comments

Comments
 (0)