Assumes Copyright header is the first line
Bug #506041 reported by
John A Meinel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Copyright Updater Plugin |
Fix Released
|
Medium
|
Vincent Ladeuil |
Bug Description
The code currently assumes that if there is a Copyright header, it is the first line of the file.
I've seen some files that start with a # -*- coding: utf-8 -*- line, or a #!/bin/env line.
Related branches
lp:~vila/bzr-update-copyright/506041-copyright-5-first-lines
- John A Meinel: Approve
-
Diff: 101 lines (+46/-7)3 files modified__init__.py (+1/-2)
test_update_copyright.py (+31/-0)
update_copyright.py (+14/-5)
Changed in bzr-update-copyright: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in bzr-update-copyright: | |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Confirmed → In Progress |
Changed in bzr-update-copyright: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
To post a comment you must log in.