SHA256
1
0
forked from pool/tigervnc

- x11vnc wrapper script: converted to python3 (boo#1179592)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=197
This commit is contained in:
Stefan Dirsch 2020-12-07 12:14:14 +00:00 committed by Git OBS Bridge
parent b15510ffe7
commit 506b54083b
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Dec 7 12:01:22 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- x11vnc wrapper script: converted to python3 (boo#1179592)
-------------------------------------------------------------------
Wed Nov 25 16:28:09 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

6
x11vnc
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# This is wrapper for x0vncserver that translate most common x11vnc arguments
# to x0vncserver's arguments
@ -78,7 +78,7 @@ args = parser.parse_args()
# Warnings
if args.ignored_argument:
print('Warning: x11vnc wrapper accepts but ignores following arguments:')
print(', '.join(ignored_arguments))
print((', '.join(ignored_arguments)))
# vncpasswd
@ -114,7 +114,7 @@ if args.N:
new_args.append('-rfbport')
new_args.append(str(port))
else:
print('Port %d is already used'%port)
print(('Port %d is already used'%port))
sys.exit(1)
if args.rfbport: