[Python-modules-commits] [bernhard] 01/05: New upstream release.

Vincent Bernat bernat at moszumanska.debian.org
Wed Dec 27 08:35:36 UTC 2017


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

bernat pushed a commit to annotated tag debian/0.2.6-1
in repository bernhard.

commit fbec9e9f29c8b8514fbade6f4e5cd713314c70b9
Author: Vincent Bernat <bernat at debian.org>
Date:   Wed Dec 27 09:30:33 2017 +0100

    New upstream release.
---
 PKG-INFO                       | 3 ++-
 bernhard.egg-info/PKG-INFO     | 3 ++-
 bernhard.egg-info/requires.txt | 2 +-
 bernhard/__init__.py           | 2 +-
 setup.cfg                      | 1 -
 setup.py                       | 2 +-
 6 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/PKG-INFO b/PKG-INFO
index b06fad8..23e27e6 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: bernhard
-Version: 0.2.5
+Version: 0.2.6
 Summary: Python client for Riemann
 Home-page: http://github.com/banjiewen/bernhard.git
 Author: Benjamin Anderspn
 Author-email: b at banjiewen.net
 License: ASF2.0
+Description-Content-Type: UNKNOWN
 Description: # Bernhard
         
         A simple Python client for [Riemann](http://github.com/aphyr/riemann). Usage:
diff --git a/bernhard.egg-info/PKG-INFO b/bernhard.egg-info/PKG-INFO
index b06fad8..23e27e6 100644
--- a/bernhard.egg-info/PKG-INFO
+++ b/bernhard.egg-info/PKG-INFO
@@ -1,11 +1,12 @@
 Metadata-Version: 1.1
 Name: bernhard
-Version: 0.2.5
+Version: 0.2.6
 Summary: Python client for Riemann
 Home-page: http://github.com/banjiewen/bernhard.git
 Author: Benjamin Anderspn
 Author-email: b at banjiewen.net
 License: ASF2.0
+Description-Content-Type: UNKNOWN
 Description: # Bernhard
         
         A simple Python client for [Riemann](http://github.com/aphyr/riemann). Usage:
diff --git a/bernhard.egg-info/requires.txt b/bernhard.egg-info/requires.txt
index d8c5564..3be604f 100644
--- a/bernhard.egg-info/requires.txt
+++ b/bernhard.egg-info/requires.txt
@@ -1 +1 @@
-protobuf >= 2.4
\ No newline at end of file
+protobuf>=2.4
diff --git a/bernhard/__init__.py b/bernhard/__init__.py
index c6f0581..0a8d3e6 100644
--- a/bernhard/__init__.py
+++ b/bernhard/__init__.py
@@ -59,7 +59,7 @@ class TCPTransport(object):
         self.sock.close()
 
     def read_exactly(self, sock, size):
-        buffer = ''
+        buffer = bytes()  # empty bytes sequence for Python 2.6+
         while len(buffer) < size:
             data = sock.recv(size - len(buffer))
             if not data:
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/setup.py b/setup.py
index 9614243..c543989 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ with io.open(os.path.join(os.path.dirname(__file__), 'README.md'),
 
 setup(
     name = 'bernhard',
-    version = '0.2.5',
+    version = '0.2.6',
     description = 'Python client for Riemann',
     long_description = long_description,
     author = 'Benjamin Anderspn',

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/bernhard.git



More information about the Python-modules-commits mailing list