Hi there,
I've got a small fix for pkglint, to have it flush the progress tracker
when the lint job has finished.
The change is short enough to inline the fix here. Comments welcome,
timf@kura[178] hg export tip
# HG changeset patch
# User Tim Foster <[email protected]>
# Date 1342575842 -43200
# Node ID 07356061846f15e02e820b3795b2ad9fff263b39
# Parent 013b8ba5a1725b86876e5dc9e3d4341050c73759
7184829 pkglint progress tracker should flush after itself
diff -r 013b8ba5a172 -r 07356061846f src/modules/lint/engine.py
--- a/src/modules/lint/engine.py Fri Jul 13 09:56:57 2012 -0700
+++ b/src/modules/lint/engine.py Wed Jul 18 13:44:02 2012 +1200
@@ -646,6 +646,7 @@
pattern=self.pattern, release=self.release):
self._check_manifest(manifest, manifest_checks,
action_checks)
+ self.tracker.flush()
def gen_manifests(self, api_inst, pattern=None, release=None):
"""A generator to return package manifests for a given
image.
cheers,
tim
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss