Merge lp:~dholbach/harvest/581732 into lp:harvest
Proposed by
Daniel Holbach
on 2010-11-16
| Status: | Superseded |
|---|---|
| Proposed branch: | lp:~dholbach/harvest/581732 |
| Merge into: | lp:harvest |
| Diff against target: |
113 lines (+43/-20) 3 files modified
harvest/common/opportunity_lists.py (+35/-8) harvest/opportunities/management/commands/updatelists.py (+2/-6) harvest/opportunities/management/commands/updateopportunities.py (+6/-6) |
| To merge this branch: | bzr merge lp:~dholbach/harvest/581732 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| James Westby | 2010-11-22 | Approve on 2010-12-01 | |
| Dave Walker | 2010-11-22 | Pending | |
| Dylan McCall | 2010-11-22 | Pending | |
| harvest-dev | 2010-11-16 | Pending | |
|
Review via email:
|
|||
This proposal supersedes a proposal from 2010-11-16.
This proposal has been superseded by a proposal from 2010-12-01.
To post a comment you must log in.
| Daniel Holbach (dholbach) wrote : | # |
| James Westby (james-w) wrote : | # |
83 + for extension in [ ".csv", ".csv.gz", ".cgi", ".json", ".json.gz" ]:
84 + if filename.
85 + return filename.
There's a tiny chance of a bug here, but it's not new. This will do something different if
the filename is something.csv.csv or similar. Making it filename.rsplit would fix that.
Thanks,
James
review:
Approve
lp:~dholbach/harvest/581732
updated
on 2010-12-01
- 289. By Daniel Holbach on 2010-12-01
-
use rsplit to split off extension properly

Is there anybody out there?