Commits

Takashi Matsuo  committed 871321f

Ignore missing data file on restore_all action.

  • Participants
  • Parent commits dd2e282
  • Tags v_0.3.0rc1

Comments (0)

Files changed (1)

File kay/management/bulkloader.py

         args.extend(backup_mod.dump_options[kind])
     except:
       pass
-    results[key] = bulkloader.main(args)
+    try:
+      results[key] = bulkloader.main(args)
+    except bulkloader.FileNotFoundError, e:
+      print_status("File not found, skipped: %s" % e)
+      results[key] = -1
+      continue
     logging.getLogger('google.appengine.tools.bulkloader').handlers = []
   sys.exit(0)