Browse Source

Update exportcaslibs.py

master
Gerry Nelson 5 years ago
committed by GitHub
parent
commit
74eb98c0d8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      exportcaslibs.py

5
exportcaslibs.py

@ -130,10 +130,13 @@ if areyousure.upper() =='Y':
if 'count' in casauth_result: casauth_result.pop('count')
if 'start' in casauth_result: casauth_result.pop('start')
if 'limit' in casauth_result: casauth_result.pop('limit')
if 'links' in casauth_result: casauth_result.pop('links')
if 'version' in casauth_result: casauth_result.pop('version')
json.dump(casauth_result, outauth)
if len(caslibs):
print("NOTE: caslib definitions written to "+basedir)
if includeauthorization: print("NOTE: Authorization files included.")
else: print("NOTE: no caslibs found.")
else: print("NOTE: no caslibs found.")

Loading…
Cancel
Save