Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Oct 12, 2023
1 parent 004e533 commit 08cc13b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 1 addition & 4 deletions conda-store-server/conda_store_server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,7 @@ class CondaStore(LoggingConfigurable):
)

database_url = Unicode(
"sqlite:///"
+ str(
PurePosixPath(CONDA_STORE_DIR) / "conda-store.sqlite"
),
"sqlite:///" + str(PurePosixPath(CONDA_STORE_DIR) / "conda-store.sqlite"),
help="url for the database. e.g. 'sqlite:///conda-store.sqlite' tables will be automatically created if they do not exist",
config=True,
)
Expand Down
8 changes: 6 additions & 2 deletions conda-store-server/conda_store_server/server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,12 @@ def initialize(self, *args, **kwargs):
self.conda_store = CondaStore(parent=self, log=self.log)

self.conda_store.ensure_directories()
self.log.info(f"Running conda-store with database: {self.conda_store.database_url}")
self.log.info(f"Running conda-store with storage: {self.conda_store.store_directory}")
self.log.info(
f"Running conda-store with database: {self.conda_store.database_url}"
)
self.log.info(
f"Running conda-store with storage: {self.conda_store.store_directory}"
)

if self.conda_store.upgrade_db:
dbutil.upgrade(self.conda_store.database_url)
Expand Down

0 comments on commit 08cc13b

Please sign in to comment.