From 50ca4c6442779f0599ccac1dba16a7ad914ac405 Mon Sep 17 00:00:00 2001 From: Adam Beckmeyer Date: Tue, 22 May 2018 10:59:16 -0400 Subject: [PATCH] Fix PEP8 violation Signed-off-by: Adam Beckmeyer --- matrix_client/checks.py | 2 ++ matrix_client/errors.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/matrix_client/checks.py b/matrix_client/checks.py index a1de5401..7e51e7c5 100644 --- a/matrix_client/checks.py +++ b/matrix_client/checks.py @@ -12,6 +12,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + + def check_room_id(room_id): if not room_id.startswith("!"): raise ValueError("RoomIDs start with !") diff --git a/matrix_client/errors.py b/matrix_client/errors.py index 6c0897d3..e9dc8fe3 100644 --- a/matrix_client/errors.py +++ b/matrix_client/errors.py @@ -12,6 +12,8 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + + class MatrixError(Exception): """A generic Matrix error. Specific errors will subclass this.""" pass