~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/format-new-and-modified-imports

Fix format-new-and-modified-imports so that it DTRT for renamed files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#
10
10
 
11
11
bzr status --short "$@" | \
12
 
    awk '/^.[MN] .*[.]py$/ { print $2 }' | \
 
12
    awk '/^.[MN] .*[.]py$/ { print $NF }' | \
13
13
    xargs -r "$(dirname "$0")/format-imports"