diff options
| author | Catherine Devlin <catherine.devlin@gmail.com> | 2011-07-20 21:23:53 -0400 |
|---|---|---|
| committer | Catherine Devlin <catherine.devlin@gmail.com> | 2011-07-20 21:23:53 -0400 |
| commit | 6792d79ccc4a0cc0577db43625503b735878a2cf (patch) | |
| tree | f30e0f28c2e1560639f87524e520a1204f78b693 /cmd2.py | |
| parent | cbcb1b53527a838c9db3f559f517c7d13284a943 (diff) | |
| download | cmd2-git-6792d79ccc4a0cc0577db43625503b735878a2cf.tar.gz | |
Python 3 installation instructions
Diffstat (limited to 'cmd2.py')
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -221,6 +221,8 @@ else: can_clip = True except Exception: # hate a bare Exception call, but exception classes vary too much b/t stdlib versions pass + except Exception: + pass # something went wrong with xclip and we cannot use it if can_clip: def get_paste_buffer(): xclipproc = subprocess.Popen('xclip -o -sel clip', shell=True, stdout=subprocess.PIPE, stdin=subprocess.PIPE) |
