homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author paul.j3
Recipients chris.jerdonek, eric.smith, jeffknupp, paul.j3
Date 2013年07月04日.15:09:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372950544.28.0.271911541037.issue16977@psf.upfronthosting.co.za>
In-reply-to
Content
Changing _check_value from:
 def _check_value(self, action, value):
 # converted value must be one of the choices (if specified)
 if action.choices is not None and value not in action.choices:
 ...
to
 def _check_value(self, action, value):
 # converted value must be one of the choices (if specified)
 if action.choices is not None:
 choices = action.choices
 if isinstance(choices, str):
 choices = list(choices)
 if value not in action.choices:
 ...
would correct the string search without affecting other types of choices.
History
Date User Action Args
2013年07月04日 15:09:04paul.j3setrecipients: + paul.j3, eric.smith, chris.jerdonek, jeffknupp
2013年07月04日 15:09:04paul.j3setmessageid: <1372950544.28.0.271911541037.issue16977@psf.upfronthosting.co.za>
2013年07月04日 15:09:04paul.j3linkissue16977 messages
2013年07月04日 15:09:04paul.j3create

AltStyle によって変換されたページ (->オリジナル) /