[Python-modules-commits] [txfixtures] 01/03: New upstream version 0.4.1
Free Ekanayaka
freee at moszumanska.debian.org
Wed Feb 8 13:23:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
freee pushed a commit to branch master
in repository txfixtures.
commit 53bb26919974f4afe23f659efa92635256590fcf
Author: Free Ekanayaka <freee at debian.org>
Date: Wed Feb 8 13:23:32 2017 +0000
New upstream version 0.4.1
---
ChangeLog | 5 +++++
PKG-INFO | 2 +-
setup.cfg | 4 ++--
txfixtures.egg-info/PKG-INFO | 2 +-
txfixtures.egg-info/pbr.json | 2 +-
txfixtures/mongodb.py | 8 +++-----
6 files changed, 13 insertions(+), 10 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 05c1e58..b69e053 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
CHANGES
=======
+0.4.1
+-----
+
+* Support for pymongo 2 (#8)
+
0.4.0
-----
diff --git a/PKG-INFO b/PKG-INFO
index 2440670..779218c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: txfixtures
-Version: 0.4.0
+Version: 0.4.1
Summary: Treat Twisted applications as Python test fixtures
Home-page: https://launchpad.net/txfixtures
Author: Martin Pool
diff --git a/setup.cfg b/setup.cfg
index ddf50f7..9b82683 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -32,7 +32,7 @@ mongodb =
universal = 1
[egg_info]
-tag_svn_revision = 0
-tag_build =
tag_date = 0
+tag_build =
+tag_svn_revision = 0
diff --git a/txfixtures.egg-info/PKG-INFO b/txfixtures.egg-info/PKG-INFO
index 2440670..779218c 100644
--- a/txfixtures.egg-info/PKG-INFO
+++ b/txfixtures.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: txfixtures
-Version: 0.4.0
+Version: 0.4.1
Summary: Treat Twisted applications as Python test fixtures
Home-page: https://launchpad.net/txfixtures
Author: Martin Pool
diff --git a/txfixtures.egg-info/pbr.json b/txfixtures.egg-info/pbr.json
index 3270fbd..8619134 100644
--- a/txfixtures.egg-info/pbr.json
+++ b/txfixtures.egg-info/pbr.json
@@ -1 +1 @@
-{"git_version": "c5d4424", "is_release": true}
\ No newline at end of file
+{"git_version": "1935f45", "is_release": true}
\ No newline at end of file
diff --git a/txfixtures/mongodb.py b/txfixtures/mongodb.py
index 87509e5..c8300f4 100644
--- a/txfixtures/mongodb.py
+++ b/txfixtures/mongodb.py
@@ -1,9 +1,6 @@
import pymongo
-from txfixtures.service import (
- TIMEOUT,
- Service
-)
+from txfixtures.service import Service
COMMAND = b"mongod"
FORMAT = (
@@ -40,7 +37,8 @@ class MongoDB(Service):
self.addCleanup(self.client.close)
# XXX Workaround pymongo leaving threads around.
- self.addCleanup(pymongo.periodic_executor._shutdown_executors)
+ if int(pymongo.version.split(".")[0]) >= 3:
+ self.addCleanup(pymongo.periodic_executor._shutdown_executors)
def _extraArgs(self):
return [
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/txfixtures.git
More information about the Python-modules-commits
mailing list