Remove pprint (does not seem to help)
This commit is contained in:
parent
7aec4dd938
commit
4174c6226f
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
from pprint import pprint
|
|
||||||
|
|
||||||
from django.core.management.base import BaseCommand
|
from django.core.management.base import BaseCommand
|
||||||
from membership.models import CustomUser
|
from membership.models import CustomUser
|
||||||
|
@ -130,6 +129,6 @@ class Command(BaseCommand):
|
||||||
"Payment cards": cards,
|
"Payment cards": cards,
|
||||||
"SSH Keys": keys
|
"SSH Keys": keys
|
||||||
}
|
}
|
||||||
pprint(json.dumps(output_dict))
|
print(json.dumps(output_dict, indent=4))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(" *** Error occurred. Details {}".format(str(e)))
|
print(" *** Error occurred. Details {}".format(str(e)))
|
||||||
|
|
Loading…
Reference in a new issue