Skip to content

Commit

Permalink
Whitespace and URLs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamadden committed Aug 14, 2018
1 parent aea680a commit 13ea755
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
=============

.. image:: https://img.shields.io/pypi/v/zope.schema.svg
:target: https://pypi.python.org/pypi/zope.schema/
:target: https://pypi.org/project/zope.schema/
:alt: Latest Version

.. image:: https://img.shields.io/pypi/pyversions/zope.schema.svg
Expand All @@ -15,7 +15,7 @@
:alt: Build Status

.. image:: https://readthedocs.org/projects/zopeschema/badge/?version=latest
:target: http://zopeschema.readthedocs.org/en/latest/
:target: https://zopeschema.readthedocs.org/en/latest/
:alt: Documentation Status

.. image:: https://coveralls.io/repos/github/zopefoundation/zope.schema/badge.svg
Expand Down
3 changes: 2 additions & 1 deletion src/zope/schema/_bootstrapinterfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"""Bootstrap schema interfaces and exceptions
"""
from functools import total_ordering
import zope.interface

import zope.interface

from zope.schema._messageid import _

Expand All @@ -27,6 +27,7 @@ class StopValidation(Exception):
a way for the validator to save time.
"""


@total_ordering
class ValidationError(zope.interface.Invalid):
"""Raised if the Validation process fails."""
Expand Down
1 change: 1 addition & 0 deletions src/zope/schema/_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ def fromUnicode(self, value):
# use the whole line
r"$").match


class _StrippedNativeStringLine(NativeStringLine):

_invalid_exc_type = None
Expand Down

0 comments on commit 13ea755

Please sign in to comment.