Invalid long option name 'help_dir'

Bug #508438 reported by Severin H
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-distutils-extra
Fix Released
Undecided
Unassigned
python-distutils-extra (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

I used to manually fix this bug in the version of python-distutils-extra we ship with the LottaNZB source, but I thought it's time to report it here.

In the DistUtilsExtra/command/build_help.py file, "help_dir" needs to be changed to "help-dir" in the line
user_options= [('help_dir', None, 'help directory in the source tree')]

If this isn't done, running the "build_help" command leads to the error

distutils.errors.DistutilsGetoptError: invalid long option name 'help_dir' (must be letters, numbers, hyphens only)

Severin H (severinh)
summary: - invalid long option name 'help_dir'
+ Invalid long option name 'help_dir'
description: updated
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

trunk r154.

Thanks for spotting!

Changed in python-distutils-extra:
status: New → Fix Released
Changed in python-distutils-extra (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-distutils-extra - 2.16

---------------
python-distutils-extra (2.16) unstable; urgency=low

  * test/auto.py: Make Apport hook test description consistent to other tests.
  * build_help.py: Fix --help-dir option, thanks to Severin Heiniger for
    spotting this. (LP: #508438)
  * auto.py: Clean up temporary *.py symlinks also if there is an exception in
    between. (LP: #490985)
 -- Martin Pitt <email address hidden> Fri, 29 Jan 2010 18:48:31 +0100

Changed in python-distutils-extra (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.