mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Minor fixes to showReport (#452)
* Fix create project to handle Google change * Handle newlines in app name Don’t output name/value for name == u'accounts:authorized_apps’, apps are listed later
This commit is contained in:
@@ -991,12 +991,13 @@ def showReport():
|
|||||||
app = {}
|
app = {}
|
||||||
for an_item in subitem:
|
for an_item in subitem:
|
||||||
if an_item == u'client_name':
|
if an_item == u'client_name':
|
||||||
app[u'name'] = u'App: %s' % subitem[an_item]
|
app[u'name'] = u'App: %s' % subitem[an_item].replace(u'\n', u'\\n')
|
||||||
elif an_item == u'num_users':
|
elif an_item == u'num_users':
|
||||||
app[u'value'] = u'%s users' % subitem[an_item]
|
app[u'value'] = u'%s users' % subitem[an_item]
|
||||||
elif an_item == u'client_id':
|
elif an_item == u'client_id':
|
||||||
app[u'client_id'] = subitem[an_item]
|
app[u'client_id'] = subitem[an_item]
|
||||||
auth_apps.append(app)
|
auth_apps.append(app)
|
||||||
|
continue
|
||||||
else:
|
else:
|
||||||
values = []
|
values = []
|
||||||
for subitem in item[u'msgValue']:
|
for subitem in item[u'msgValue']:
|
||||||
|
|||||||
Reference in New Issue
Block a user