[Pkg-bitcoin-commits] [python-quamash] 215/269: minor fix

Jonas Smedegaard dr at jones.dk
Fri Nov 24 11:26:35 UTC 2017


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository python-quamash.

commit 2d43087961dfa02fc87b2c6bc0d35fd5c2524e70
Author: Mark Harviston <mark.harviston at gmail.com>
Date:   Sun Jan 18 14:58:13 2015 -0800

    minor fix
    
    I remember fixing this before... maybe it's just a really common bad
    habit of mine.
    
    I noticed this because I was getting not covered, but I thought I'd
    setup pytest-cov to skip NotImplementedErrors and of course I had, but I
    wrote NotImplemented.
---
 quamash/_unix.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/quamash/_unix.py b/quamash/_unix.py
index 442bfe4..f6c47e2 100644
--- a/quamash/_unix.py
+++ b/quamash/_unix.py
@@ -73,7 +73,7 @@ class _Selector(selectors.BaseSelector):
 
 	def select(self, *args, **kwargs):
 		"""Implement abstract method even though we don't need it."""
-		raise NotImplemented
+		raise NotImplementedError
 
 	def _fileobj_lookup(self, fileobj):
 		"""Return a file descriptor from a file object.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git



More information about the Pkg-bitcoin-commits mailing list