[Python-modules-commits] [easyprocess] 01/04: Import easyprocess_0.2.3.orig.tar.gz

Sandro Tosi morph at moszumanska.debian.org
Sun Dec 11 23:40:56 UTC 2016


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

morph pushed a commit to branch master
in repository easyprocess.

commit 8296d0801ce288480f2b30637cf0089ccd30175d
Author: Sandro Tosi <morph at debian.org>
Date:   Sun Dec 11 18:35:40 2016 -0500

    Import easyprocess_0.2.3.orig.tar.gz
---
 EasyProcess.egg-info/PKG-INFO | 2 +-
 PKG-INFO                      | 2 +-
 docs/conf.py                  | 3 +--
 easyprocess/__init__.py       | 2 +-
 easyprocess/about.py          | 2 +-
 easyprocess/unicodeutil.py    | 2 +-
 6 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/EasyProcess.egg-info/PKG-INFO b/EasyProcess.egg-info/PKG-INFO
index ab5ab9d..c63f700 100644
--- a/EasyProcess.egg-info/PKG-INFO
+++ b/EasyProcess.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: EasyProcess
-Version: 0.2.2
+Version: 0.2.3
 Summary: Easy to use python subprocess interface.
 Home-page: https://github.com/ponty/easyprocess
 Author: ponty
diff --git a/PKG-INFO b/PKG-INFO
index ab5ab9d..c63f700 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: EasyProcess
-Version: 0.2.2
+Version: 0.2.3
 Summary: Easy to use python subprocess interface.
 Home-page: https://github.com/ponty/easyprocess
 Author: ponty
diff --git a/docs/conf.py b/docs/conf.py
index 24e93ff..3c61ccc 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -19,13 +19,12 @@ extensions = [
     'sphinx.ext.autodoc',
 #     'sphinxcontrib.programoutput',
     #     'sphinxcontrib.programscreenshot',
-    'sphinx.ext.graphviz',
+#     'sphinx.ext.graphviz',
 #     'sphinxcontrib.autorun',
     #'sphinx.ext.autosummary',
     'sphinx.ext.intersphinx',
 ]
 intersphinx_mapping = {'python': ('http://docs.python.org/', None)}
-# intersphinx_mapping =  {'http://docs.python.org/': None}
 
 # Source
 master_doc = 'index'
diff --git a/easyprocess/__init__.py b/easyprocess/__init__.py
index 8cd2c78..3b5dfc2 100644
--- a/easyprocess/__init__.py
+++ b/easyprocess/__init__.py
@@ -115,7 +115,7 @@ class EasyProcess(object):
             raise EasyProcessError(self, 'empty command!')
 
     def __repr__(self):
-        msg = '<%s cmd_param=%s cmd=%s oserror=%s returncode=%s stdout="%s" stderr="%s" timeout=%s>' % (
+        msg = '<%s cmd_param=%s cmd=%s oserror=%s return_code=%s stdout="%s" stderr="%s" timeout_happened=%s>' % (
             self.__class__.__name__,
             self.cmd_param,
             self.cmd,
diff --git a/easyprocess/about.py b/easyprocess/about.py
index 020ed73..d93b5b2 100644
--- a/easyprocess/about.py
+++ b/easyprocess/about.py
@@ -1 +1 @@
-__version__ = '0.2.2'
+__version__ = '0.2.3'
diff --git a/easyprocess/unicodeutil.py b/easyprocess/unicodeutil.py
index c88e694..1c5ea10 100644
--- a/easyprocess/unicodeutil.py
+++ b/easyprocess/unicodeutil.py
@@ -60,5 +60,5 @@ def unidecode(s):
         s = s.decode()
     else:
         if isinstance(s, str):
-            s = s.decode('utf-8')
+            s = s.decode('utf-8', 'ignore')
     return s

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



More information about the Python-modules-commits mailing list