summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Devlin <catherine.devlin@gmail.com>2008-06-27 09:50:38 -0400
committerCatherine Devlin <catherine.devlin@gmail.com>2008-06-27 09:50:38 -0400
commit96ddbc7bccc355cbf4db2500f8e0a8d299614d4f (patch)
tree1d57903c9647fb3fafbdaa5c9d2746bc2b0bd26f
parent495e55c440d3bc047ef5e8cb42b3c59745a7f692 (diff)
downloadcmd2-git-0.3.4.1.tar.gz
fixing (hopefully) broken pipe error for headless systems0.3.4.1
-rwxr-xr-xcmd2.py2
-rw-r--r--setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd2.py b/cmd2.py
index ed709323..e3bf195c 100755
--- a/cmd2.py
+++ b/cmd2.py
@@ -109,7 +109,7 @@ else:
xclipproc = subprocess.Popen('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE)
if xclipproc.stdout.read() == teststring:
can_clip = True
- except (subprocess.CalledProcessError, OSError):
+ except (subprocess.CalledProcessError, OSError, IOError):
pass
if can_clip:
def getPasteBuffer():
diff --git a/setup.py b/setup.py
index 52ca3419..e02178f8 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
setup(
name="cmd2",
- version="0.3.4",
+ version="0.3.4.1",
py_modules = ['cmd2','flagReader','bootstrap'],
# metadata for upload to PyPI