diff options
| author | Catherine Devlin <catherine.devlin@gmail.com> | 2008-06-27 09:50:38 -0400 |
|---|---|---|
| committer | Catherine Devlin <catherine.devlin@gmail.com> | 2008-06-27 09:50:38 -0400 |
| commit | 96ddbc7bccc355cbf4db2500f8e0a8d299614d4f (patch) | |
| tree | 1d57903c9647fb3fafbdaa5c9d2746bc2b0bd26f /cmd2.py | |
| parent | 495e55c440d3bc047ef5e8cb42b3c59745a7f692 (diff) | |
| download | cmd2-git-0.3.4.1.tar.gz | |
fixing (hopefully) broken pipe error for headless systems0.3.4.1
Diffstat (limited to 'cmd2.py')
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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():
|
