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/fjdisplay.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/fjdisplay.py')
-rwxr-xr-x | contrib/fjdisplay.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fjdisplay.py b/contrib/fjdisplay.py index 0e0ef01ec..3f409545f 100755 --- a/contrib/fjdisplay.py +++ b/contrib/fjdisplay.py | |||
@@ -16,7 +16,7 @@ def getfirejails(): | |||
16 | namematch = re.search('--name=(\w+\S*)',line) | 16 | namematch = re.search('--name=(\w+\S*)',line) |
17 | if namematch: | 17 | if namematch: |
18 | name = namematch.group(1) | 18 | name = namematch.group(1) |
19 | displaymatch = re.search('DISPLAY (:\d+)',line) | 19 | displaymatch = re.search('DISPLAY (:\d+)',line) |
20 | if displaymatch: | 20 | if displaymatch: |
21 | firejails[name] = displaymatch.group(1) | 21 | firejails[name] = displaymatch.group(1) |
22 | return firejails | 22 | return firejails |
@@ -40,4 +40,4 @@ if __name__ == '__main__': | |||
40 | if len(sys.argv) == 1: | 40 | if len(sys.argv) == 1: |
41 | print(getfirejails()) | 41 | print(getfirejails()) |
42 | if len(sys.argv) == 2: | 42 | if len(sys.argv) == 2: |
43 | print (getdisplay(sys.argv[1])) \ No newline at end of file | 43 | print (getdisplay(sys.argv[1])) |