diff options
| author | Allen Martin <amartin@nvidia.com> | 2012-12-19 13:02:36 -0800 | 
|---|---|---|
| committer | Allen Martin <amartin@nvidia.com> | 2012-12-19 13:02:36 -0800 | 
| commit | a098cf41fdb2a6607c675f7fe4f3164617c9367e (patch) | |
| tree | b37acb36f65909e6f74cc537d73efd883a1485a6 /tools/patman/series.py | |
| parent | b8a7c467960ffb4d5a5e1eef5f7783fb6f594542 (diff) | |
| parent | 095728803eedfce850a2f85828f79500cb09979e (diff) | |
| download | olio-uboot-2014.01-a098cf41fdb2a6607c675f7fe4f3164617c9367e.tar.xz olio-uboot-2014.01-a098cf41fdb2a6607c675f7fe4f3164617c9367e.zip | |
Merge remote-tracking branch 'u-boot/master' into u-boot-arm-merged
Conflicts:
	README
	arch/arm/cpu/armv7/exynos/clock.c
	board/samsung/universal_c210/universal.c
	drivers/misc/Makefile
	drivers/power/power_fsl.c
	include/configs/mx35pdk.h
	include/configs/mx53loco.h
	include/configs/seaboard.h
Diffstat (limited to 'tools/patman/series.py')
| -rw-r--r-- | tools/patman/series.py | 21 | 
1 files changed, 13 insertions, 8 deletions
| diff --git a/tools/patman/series.py b/tools/patman/series.py index a283a2d1f..d2971f489 100644 --- a/tools/patman/series.py +++ b/tools/patman/series.py @@ -145,10 +145,11 @@ class Series(dict):          Return:              The change log as a list of strings, one per line -            Changes in v2: +            Changes in v4:              - Jog the dial back closer to the widget -            Changes in v1: +            Changes in v3: None +            Changes in v2:              - Fix the widget              - Jog the dial @@ -162,12 +163,16 @@ class Series(dict):                  if commit and this_commit != commit:                      continue                  out.append(text) -            if out: -                out = ['Changes in v%d:' % change] + out -                if need_blank: -                    out = [''] + out -                final += out -                need_blank = True +            line = 'Changes in v%d:' % change +            have_changes = len(out) > 0 +            if have_changes: +                out.insert(0, line) +            else: +                out = [line + ' None'] +            if need_blank: +                out.insert(0, '') +            final += out +            need_blank = have_changes          if self.changes:              final.append('')          return final |