mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 16:41:18 +02:00
2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Group()' type class to the 'rivwebpyapi' API. * Modified the 'rivwebpyapi.ListGroup()' call to return a 'rivwebpyapi.Group' object. * Modified the 'rivwebpyapi.ListGroups()' call to return a list of 'rivwebpyapi.Group' objects. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -71,17 +71,8 @@ except rivwebpyapi.RivWebPyError as err:
|
||||
sys.exit(1)
|
||||
|
||||
#
|
||||
# Display the group list
|
||||
# Display the group
|
||||
#
|
||||
print('')
|
||||
print('name: '+grp['name'])
|
||||
print('description: '+grp['description'])
|
||||
print('defaultCartType: '+grp['defaultCartType'])
|
||||
print('defaultLowCart: '+str(grp['defaultLowCart']))
|
||||
print('defaultHighCart: '+str(grp['defaultHighCart']))
|
||||
print('cutShelfLife: '+str(grp['cutShelfLife']))
|
||||
print('defaultTitle: '+grp['defaultTitle'])
|
||||
print('enforceCartRange: '+str(grp['enforceCartRange']))
|
||||
print('reportTfc: '+str(grp['reportTfc']))
|
||||
print('reportMus: '+str(grp['reportMus']))
|
||||
for key in grp.values():
|
||||
print(key+': '+str(grp.values()[key]))
|
||||
print('')
|
||||
|
Reference in New Issue
Block a user