Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
1f3cec0c
Commit
1f3cec0c
authored
Jan 21, 2013
by
Giorgos Korfiatis
Browse files
Print log in astakos-quota-verify
parent
c44e6eda
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/management/commands/astakos-quota-verify.py
View file @
1f3cec0c
...
...
@@ -62,6 +62,16 @@ class Command(BaseCommand):
try
:
log
=
sync_all_users
(
sync
=
sync
)
existing
,
nonexisting
,
registered_quotas
,
astakos_quotas
=
log
self
.
stdout
.
write
(
"User registered in quotaholder:
\n
"
)
self
.
stdout
.
write
(
"%s
\n\n
"
%
(
existing
))
self
.
stdout
.
write
(
"User not registered in quotaholder:
\n
"
)
self
.
stdout
.
write
(
"%s
\n\n
"
%
(
nonexisting
))
self
.
stdout
.
write
(
"Quotas according to quotaholder:
\n
"
)
self
.
stdout
.
write
(
"%s
\n\n
"
%
(
registered_quotas
))
self
.
stdout
.
write
(
"Quotas according to astakos:
\n
"
)
self
.
stdout
.
write
(
"%s
\n
"
%
(
astakos_quotas
))
except
BaseException
,
e
:
logger
.
exception
(
e
)
raise
CommandError
(
"Syncing failed."
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment