You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: dbutil.py
+2-1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
fromdeploy.appimportdbmaint
7
7
fromdeploy.appimportdb
8
8
fromdeploy.appimportdbfile
9
+
fromdeploy.appimportpaths
9
10
10
11
11
12
if__name__=="__main__":
@@ -40,7 +41,7 @@
40
41
parser.add_argument("--report",help="Print a report of the database",action='store_true')
41
42
parser.add_argument("--freshen",help="Non-destructive cleans up the movie metadata for all movies.",action='store_true')
42
43
parser.add_argument("--clean",help="Destructive cleans up the movie metadata for all movies.",action='store_true')
43
-
parser.add_argument("--schema", help="Specify schema file to use", default=dbmaint.SCHEMA_FILE)
44
+
parser.add_argument("--schema", help="Specify schema file to use", default=paths.SCHEMA_FILE)
44
45
parser.add_argument("--dump", help="Backup all objects as JSON files and movie files to new directory called DUMP. ")
45
46
parser.add_argument("--add_admin", help="Add --admin_email user as a course admin to the course specified by --course_id, --course_name, or --course_name", action='store_true')
0 commit comments