#7762: management prints full path to script when command error occurs
--------------------------------------+-------------------------------------
Reporter: miracle2k | Owner: nobody
Status: closed | Milestone:
Component: django-admin.py | Version: SVN
Resolution: wontfix | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by mtredinnick):
* status: new => closed
* needs_better_patch: => 0
* resolution: => wontfix
* needs_tests: => 0
* needs_docs: => 0
Comment:
That change would mean it gives the wrong results when you run it from
some relative path on any Unix-derived system. The only small visual
inconsistency here is that Windows gives slightly non-standard values for
`sys.argv[0]` (the traditional return value is the path from where the
command is run -- a relative path, not an absolute one). Plus, the value
displayed for Windows isn't actually wrong. So I don't think this is worth
doing -- replacing a correct display with something that will be incorrect
in certain other situations would be a regression.
--
Ticket URL: <http://code.djangoproject.com/ticket/7762#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---