mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Service()' type class to the 'rivwebpyapi' API. * Modified the 'rivwebpyapi.ListServices()' call to return a list of 'rivwebpyapi.Service' objects. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -72,6 +72,6 @@ except rivwebpyapi.RivWebPyError as err:
|
||||
# Display the services list
|
||||
#
|
||||
for svc in services:
|
||||
print('name: '+svc['name'])
|
||||
print('description: '+svc['description'])
|
||||
for key in svc.values():
|
||||
print(key+': '+str(svc.values()[key]))
|
||||
print('')
|
||||
|
Reference in New Issue
Block a user