Merge lp:~jerith/renamer/empty-config-lines into lp:renamer
Proposed by
Jeremy Thurgood
| Status: | Merged |
|---|---|
| Approved by: | Tristan Seligmann |
| Approved revision: | 83 |
| Merged at revision: | 83 |
| Proposed branch: | lp:~jerith/renamer/empty-config-lines |
| Merge into: | lp:renamer |
| Diff against target: |
11 lines (+2/-0) 1 file modified
renamer/plugin.py (+2/-0) |
| To merge this branch: | bzr merge lp:~jerith/renamer/empty-config-lines |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Tristan Seligmann | Approve | ||
|
Review via email:
|
|||
Description of the change
No test updates, because there aren't any around this code.
To post a comment you must log in.
Since everything probably wants to operate on a stripped line, how about doing "line = line.strip()" instead of stripping it everywhere it's used?
Also, this is out of scope for this branch, but since it's a trivial change, how about skipping lines when line.startswith ('#')?