diff options
| author | Hans Lellelid <hans@xmpl.org> | 2016-02-18 21:49:15 -0500 |
|---|---|---|
| committer | Federico Ceratto <federico.ceratto@gmail.com> | 2016-02-20 15:54:27 +0000 |
| commit | 6ee37b45de8d2a8a1fe9f4db7f7a4b77f216b9ed (patch) | |
| tree | ba7cfc128a252a8bf7d7e6021334f674b09cfbda | |
| parent | a4af014d66d213e9817e60c76c5582b6ea25a29c (diff) | |
| download | cmd2-git-6ee37b45de8d2a8a1fe9f4db7f7a4b77f216b9ed.tar.gz | |
subprocess.mswindows does not exist in python3.5
Am hoping that the sys.platform (https://docs.python.org/2/library/sys.html#sys.platform) check is sufficient, though perhaps there was a reason this was not done initially.
| -rwxr-xr-x | cmd2.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,7 +190,7 @@ pastebufferr = """Redirecting to or from paste buffer requires %s to be installed on operating system. %s""" -if subprocess.mswindows: +if sys.platform == "win32": try: import win32clipboard def get_paste_buffer(): |
