mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-22 15:11:37 +00:00
Code fixes (#520)
* Delete debugging print statements * Add missing \n to message
This commit is contained in:
@@ -9471,7 +9471,7 @@ def doPrintOrgs():
|
||||
else:
|
||||
print u'ERROR: %s is not a valid argument for "gam print orgs"' % sys.argv[i]
|
||||
sys.exit(2)
|
||||
sys.stderr.write(u"Retrieving All Organizational Units for your account (may take some time on large domain)...")
|
||||
sys.stderr.write(u"Retrieving All Organizational Units for your account (may take some time on large domain)...\n")
|
||||
if fields:
|
||||
get_fields = u','.join(fields)
|
||||
list_fields = u'organizationUnits(%s)' % get_fields
|
||||
@@ -9673,7 +9673,6 @@ def doPrintMobileDevices():
|
||||
i += 1
|
||||
elif myarg == u'fields':
|
||||
fields = u'nextPageToken,mobiledevices(%s)' % sys.argv[i+1]
|
||||
print fields
|
||||
i += 2
|
||||
elif myarg == u'orderby':
|
||||
orderBy = sys.argv[i+1].lower()
|
||||
@@ -9720,7 +9719,6 @@ def doPrintMobileDevices():
|
||||
app_details.append(app.get(u'packageName', u'<missing>'))
|
||||
app_details.append(app.get(u'versionName', u'<missing>'))
|
||||
app_details.append(unicode(app.get(u'versionCode', u'<missing>')))
|
||||
print app_details
|
||||
applications.append(u' - '.join(app_details))
|
||||
mobiledevice[u'applications'] = u'\n'.join(applications)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user