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
1e62c0b6
Commit
1e62c0b6
authored
May 16, 2013
by
Giorgos Korfiatis
Browse files
astakos: Do not show obsolete user settings
Also fix printing user quota.
parent
c1233368
Changes
1
Hide whitespace changes
Inline
Side-by-side
snf-astakos-app/astakos/im/management/commands/user-show.py
View file @
1e62c0b6
...
...
@@ -111,9 +111,6 @@ class Command(SynnefoCommand):
(
'activation_sent_date'
,
user
.
activation_sent
),
])
if
settings_dict
:
kv
[
'settings'
]
=
settings_dict
if
get_latest_terms
():
has_signed_terms
=
user
.
signed_terms
kv
[
'has_signed_terms'
]
=
has_signed_terms
...
...
@@ -125,7 +122,7 @@ class Command(SynnefoCommand):
if
options
[
"list_quotas"
]:
self
.
stdout
.
write
(
"
\n
"
)
_
,
quotas
,
initial
,
_
=
list_user_quotas
([
user
])
quotas
,
initial
=
list_user_quotas
([
user
])
print_data
,
labels
=
show_quotas
(
quotas
,
initial
)
utils
.
pprint_table
(
self
.
stdout
,
print_data
,
labels
,
options
[
"output_format"
])
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