コード例 #1
0
 def fetch_sqlite_db(self):
     """Download a SQLite version of the CRDS catalog from the server."""
     log.info("Downloading CRDS catalog database file.")
     with log.warn_on_exception("Failed updating local CRDS database"):
         db_path = api.get_sqlite_db(self.observatory)
         log.info("Sqlite3 database file downloaded to:", db_path)
コード例 #2
0
ファイル: sync.py プロジェクト: jaytmiller/crds
 def fetch_sqlite_db(self):
     """Download a SQLite version of the CRDS catalog from the server."""
     path = api.get_sqlite_db(self.observatory)
     log.info("SQLite database file downloaded to:", path)
コード例 #3
0
ファイル: sql.py プロジェクト: brechmos-stsci/crds
 def fetch_sqlite_db(self):
     """Download a SQLite version of the CRDS catalog from the server."""
     log.info("Downloading CRDS catalog database file.")
     with log.warn_on_exception("Failed updating local CRDS database"):
         db_path = api.get_sqlite_db(self.observatory)
         log.info("Sqlite3 database file downloaded to:", db_path)
コード例 #4
0
ファイル: sync.py プロジェクト: oirlab/tmt-crds
 def fetch_sqlite_db(self):
     """Download a SQLite version of the CRDS catalog from the server."""
     path = api.get_sqlite_db(self.observatory)
     log.info("SQLite database file downloaded to:", path)