~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/fields/__init__.py

  • Committer: Curtis Hovey
  • Date: 2011-12-18 23:42:00 UTC
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218234200-jocarlc83r4kkdgk
Moved lost validators to lp.services.validation

Show diffs side-by-side

added added

removed removed

Lines of Context:
423
423
 
424
424
    def _validate(self, value):
425
425
        # Local import to avoid circular imports
426
 
        from canonical.launchpad.interfaces.validation import valid_password
 
426
        from lp.app.validators.validation import valid_password
427
427
        if not valid_password(value):
428
428
            raise LaunchpadValidationError(_(
429
429
                "The password provided contains non-ASCII characters."))