Opened 14 years ago

Closed 14 years ago

#14889 closed (wontfix)

Usability improvement to csrf_migration_helper

Reported by: frankvillasenor Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords: csrf_migration_helper, csrf, csrf migration
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The csrf_migration_helper.py couldn't find my settings file. I found that "." wasn't on my sys.path. I made a small modification to the csrf_migration_helper to go ahead and add "." to the path. While I realize I may not have been using the program quite as expected, I figure that if I ran in to this, others will and this is a quick fix.

Hopefully this is helpful.

Attachments (1)

curr_dir--csrf_migration_helper.patch (436 bytes ) - added by frankvillasenor 14 years ago.
patch file with the additions I described in the ticket.

Download all attachments as: .zip

Change History (2)

by frankvillasenor, 14 years ago

patch file with the additions I described in the ticket.

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: wontfix
Status: newclosed

I disagree that munging PYTHONPATH or sys.path is a good thing to be doing here. Having a settings file that is found in one circumstance but not others just serves to add to the confusion of what the PYTHONPATH/sys.path is, or should be.

Note: See TracTickets for help on using tickets.
Back to Top