forked from YannickB/odoo-hosting
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] clouder: Centralize and improve path/str handling
* Centralize key and clouder tmp dirs via `ClouderModel` method * Centralize backup directory definitions in `ClouderModel` * Harden path handling by using os.path.join * Prefer string interpolation vs concat * Fix use of `self.raise_error` for models that aren't inherited from `clouder.model` * Prefer `ClouderError` in models not inherited from `clouder.model` * Update model attribute declaration orders * Use lambdas for defaults in `clouder.container` * Environment prefix is required
- Loading branch information
Showing
10 changed files
with
623 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.