[Bps-public-commit] Prophet branch, master, updated. 0.743-39-ge270f82
Christine Spang
spang at bestpractical.com
Sun Feb 20 20:09:52 EST 2011
The branch, master has been updated
via e270f82ddf874b5c7e9459b1012383749febbaf0 (commit)
from da4308a7bcc674c089ade826c0aacdd5c05c0897 (commit)
Summary of changes:
lib/Prophet/CLI/ProgressBar.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit e270f82ddf874b5c7e9459b1012383749febbaf0
Author: Christine Spang <christine at debian.org>
Date: Sun Feb 20 20:04:59 2011 -0500
use local on this variable
diff --git a/lib/Prophet/CLI/ProgressBar.pm b/lib/Prophet/CLI/ProgressBar.pm
index d2f46a4..f81482a 100644
--- a/lib/Prophet/CLI/ProgressBar.pm
+++ b/lib/Prophet/CLI/ProgressBar.pm
@@ -15,7 +15,7 @@ sub progress_bar {
my $format = $args{format};
return sub {
# disable autoflush to make \r work properly
- $| = 1;
+ local $| = 1;
print $bar->report( $format, ++$bar_count );
}
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list