mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
Merge pull request #259 from taers232c/master
Statement misplaced in doPrintCourseParticipants; correct documentation
This commit is contained in:
@@ -643,7 +643,7 @@ gam course <CourseID> delete alias <CourseAlias>
|
||||
gam course <CourseID> add teachers|students <UserItem>
|
||||
gam course <CourseID> delete|remove teachers|students <UserItem>
|
||||
gam course <CourseID> sync teachers|students <UserTypeEntity>
|
||||
gam print course-participants [todrive](course <CourseID>)* [teacher] [student] [show all|students|teachers]
|
||||
gam print course-participants [todrive] (course|class <CourseID>)*|([teacher <UserItem>] [student <UserItem>]) [show all|students|teachers]
|
||||
|
||||
gam create guardian|guardianinvite|inviteguardian <EmailAddress> <UserItem>
|
||||
gam delete guardian|guardians <GuardianID <UserItem>
|
||||
|
||||
@@ -2529,8 +2529,8 @@ def doPrintCourseParticipants():
|
||||
else:
|
||||
print u'ERROR: %s is not a valid argument for "gam print course-participants"' % sys.argv[i]
|
||||
sys.exit(2)
|
||||
sys.stderr.write(u'Retrieving courses for organization (may take some time for large accounts)...\n')
|
||||
if len(courses) == 0:
|
||||
sys.stderr.write(u'Retrieving courses for organization (may take some time for large accounts)...\n')
|
||||
page_message = u'Got %%num_items%% courses...\n'
|
||||
all_courses = callGAPIpages(croom.courses(), u'list', u'courses', page_message=page_message, teacherId=teacherId, studentId=studentId)
|
||||
for course in all_courses:
|
||||
|
||||
Reference in New Issue
Block a user