diff options
author | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2017-05-24 13:39:36 -0500 |
---|---|---|
committer | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2017-05-24 13:39:36 -0500 |
commit | 2f1e1d67f203c139d9da8684ba20df79c7074eef (patch) | |
tree | 4735632ae4768da66068736353e5b569bbe7c70e /contrib/fjclip.py | |
parent | fix for #1301 (diff) | |
download | firejail-2f1e1d67f203c139d9da8684ba20df79c7074eef.tar.gz firejail-2f1e1d67f203c139d9da8684ba20df79c7074eef.tar.zst firejail-2f1e1d67f203c139d9da8684ba20df79c7074eef.zip |
Remove trailing whitespace from contrib
Diffstat (limited to 'contrib/fjclip.py')
-rwxr-xr-x | contrib/fjclip.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/fjclip.py b/contrib/fjclip.py index cd12cd289..b45959841 100755 --- a/contrib/fjclip.py +++ b/contrib/fjclip.py | |||
@@ -10,10 +10,10 @@ firemon --x11 to see available running x11 firejails. firejail names can be shor | |||
10 | to least ambiguous. for example 'work-libreoffice' can be shortened to 'work' if no | 10 | to least ambiguous. for example 'work-libreoffice' can be shortened to 'work' if no |
11 | other firejails name starts with 'work'. | 11 | other firejails name starts with 'work'. |
12 | warning: browsers are dangerous. clipboards from browsers are dangerous. see | 12 | warning: browsers are dangerous. clipboards from browsers are dangerous. see |
13 | https://github.com/dxa4481/Pastejacking | 13 | https://github.com/dxa4481/Pastejacking |
14 | fjclip.py strips whitespace from both | 14 | fjclip.py strips whitespace from both |
15 | ends, but does nothing else to protect you. use a simple gui text editor like | 15 | ends, but does nothing else to protect you. use a simple gui text editor like |
16 | gedit if you want to see what your pasting.""" | 16 | gedit if you want to see what your pasting.""" |
17 | 17 | ||
18 | if len(sys.argv) != 3 or sys.argv == '-h' or sys.argv == '--help': | 18 | if len(sys.argv) != 3 or sys.argv == '-h' or sys.argv == '--help': |
19 | print(usage) | 19 | print(usage) |
@@ -32,4 +32,4 @@ if sys.argv[2] == '-': | |||
32 | else: | 32 | else: |
33 | display = fjdisplay.getdisplay(sys.argv[2]) | 33 | display = fjdisplay.getdisplay(sys.argv[2]) |
34 | clipout = subprocess.Popen(['xsel','-b','-i','--display',display],stdin=subprocess.PIPE) | 34 | clipout = subprocess.Popen(['xsel','-b','-i','--display',display],stdin=subprocess.PIPE) |
35 | clipout.communicate(clipin) \ No newline at end of file | 35 | clipout.communicate(clipin) |