[X2Go-Commits] [x2goclient] 51/74: whitespace fixes
git-admin at x2go.org
git-admin at x2go.org
Fri Dec 15 21:05:47 CET 2023
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to annotated tag 0.5.0.1
in repository x2goclient.
commit 8985b746f5b977b05ffeefb6f0444bc400d14fa4
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Mon Mar 3 12:55:03 2014 +0100
whitespace fixes
---
pyhoca-cli | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/pyhoca-cli b/pyhoca-cli
index 9e6aaa51..93e06adb 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -126,7 +126,7 @@ liblogger = x2go.X2GoLogger()
###
# exclusive client control options
-action_options = [
+action_options = [
{'args':['-N','--new'], 'default': False, 'action': 'store_true', 'help': 'start a new X2Go session on server (default)', },
{'args':['-R','--resume'], 'default': None, 'metavar': 'SESSION_NAME', 'help': 'resume a suspended X2Go session with name SESSION_NAME', },
{'args':['-D','--share-desktop'], 'default': None, 'metavar': 'USER at DISPLAY', 'help': 'share an X2Go session on server specified by USER at DISPLAY', },
@@ -143,7 +143,7 @@ if _X2GOCLIENT_OS == "Linux":
)
# debug options...
-debug_options = [
+debug_options = [
{'args':['-d','--debug'], 'default': False, 'action': 'store_true', 'help': 'enable application debugging code', },
{'args':['--quiet'], 'default': False, 'action': 'store_true', 'help': 'disable any kind of log output', },
{'args':['--libdebug'], 'default': False, 'action': 'store_true', 'help': 'enable debugging code of the underlying Python X2Go module', },
@@ -151,7 +151,7 @@ debug_options = [
{'args':['-V', '--version'], 'default': False, 'action': 'store_true', 'help': 'print version number and exit', },
]
# possible programme options are
-x2go_options = [
+x2go_options = [
# NOT IMPLEMENTED {'args':['--config'], 'default': '~/.x2goclient/sessions', 'help': 'x2goclient config file containing x2go session settings (default: ~/.x2goclient/sessions)', },
{'args':['-c','--command'], 'default': 'TERMINAL', 'help': 'command to run with -R mode on server (default: xterm)', },
{'args':['-u','--username'], 'default': None, 'help': 'username for the session (default: current user)', },
@@ -167,7 +167,7 @@ x2go_options = [
{'args':['--terminate-on-ctrl-c'], 'default': False, 'action': 'store_true', 'help': 'terminate the connected session when pressing CTRL+C (instead of suspending the session)', },
{'args':['--auth-attempts'], 'default': 3, 'help': 'number of authentication attempts before authentication fails (default: 3)', },
]
-print_options = [
+print_options = [
{'args':['--print-action'], 'default': 'PDFVIEW', 'choices': PRINT_ACTIONS, 'help': 'action to be performed for incoming X2Go print jobs (default: \'PDFVIEW\')', },
{'args':['--pdfview-cmd'], 'default': None, 'help': 'PDF viewer command for displaying incoming X2Go print jobs (default: \'%s\'); this option selects \'--print-action PDFVIEW\'' % DEFAULT_PDFVIEW_CMD,},
{'args':['--save-to-folder'], 'default': None, 'metavar': 'PRINT_DEST', 'help': 'save print jobs as PDF files to folder PRINT_DEST (default: \'%s\'); this option selects \'--print-action PDFSAVE\'' % DEFAULT_PDFSAVE_LOCATION,},
@@ -178,7 +178,7 @@ broker_options = [
{'args':['-B','--broker-url'], 'default': None, 'help': 'retrieve session profiles via an X2Go Session Broker under the given URL', },
]
-nx_options = [
+nx_options = [
{'args':['-g','--geometry'], 'default': '800x600','help': 'screen geometry: \'<width>x<height>\' or \'fullscreen\' (default: \'800x600\')',},
{'args':['-q','--link'], 'default': 'adsl', 'choices': ('modem','isdn','adsl','wan','lan'), 'help': 'link quality (default: \'adsl\')',},
{'args':['-t','--session-type'], 'default': 'application', 'choices': ('desktop', 'application'), 'help': 'session type (default: \'application\')', },
@@ -186,7 +186,7 @@ nx_options = [
{'args':['--kbd-layout'], 'default': 'us', 'help': 'use keyboard layout (default: \'us\')',},
{'args':['--kbd-type'], 'default': 'pc105/us', 'help': 'set Keyboard type (default: \'pc105/us\')',},
]
-compat_options = [
+compat_options = [
{'args':['--port'], 'default': None, 'help': 'compatibility option, synonymous to --remote-ssh-port PORT', },
{'args':['--ssh-key'], 'default': None, 'help': 'compatibility option, synonymous to --ssh-privkey SSH_KEY', },
{'args':['--use-sound'], 'default': None, 'choices': ('yes', 'no'), 'help': 'compatibility option, synonymous to --sound {pulse|none}', },
@@ -212,7 +212,7 @@ def parseargs():
p = argparse.ArgumentParser(description='X2Go command line client implemented in Python.',\
epilog="""
-Possible values for the --pack NX option are:
+Possible values for the --pack NX option are:
%s
""" % x2go.defaults.pack_methods_nx3_formatted, \
formatter_class=argparse.RawDescriptionHelpFormatter, \
@@ -323,7 +323,7 @@ Possible values for the --pack NX option are:
### take care of compatibility options
# option --use-sound yes as synonomyn for --sound
- if a.use_sound is not None:
+ if a.use_sound is not None:
if a.use_sound == 'yes': a.sound = 'pulse'
if a.use_sound == 'no': a.sound = 'none'
@@ -407,7 +407,7 @@ if __name__ == '__main__':
print 'Profile ID: %s' % _profile_id
print 'Profile Name: %s' % _session_params['profile_name']
pprint.pprint(_session_params)
- print
+ print
else:
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list