forked from rockstor/rockstor-core
-
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.
Account for double slash in legacy bin paths rockstor#2757
in rockstor#2558, we implemented an automatic conversion of legacy paths to poetry bin paths for rockstor scripts. This, however, failed for legacy paths that somehow included double slashes. This commit updates the pattern used to recognize this legacy paths so that those with double slashes are also converted to poetry paths. Includes 1 new unit test to cover underlying function. Includes black formatting.
- Loading branch information
1 parent
0f7f997
commit 4a03ea5
Showing
2 changed files
with
92 additions
and
3 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