-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae257a9
commit 1eafba8
Showing
4 changed files
with
27 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
""" | ||
rtslib_fb.py - Backwards compatibility module for rtslib | ||
This module provides backwards compatibility for code that imports 'rtslib_fb'. | ||
It re-exports all public names from the 'rtslib' module. | ||
Usage: | ||
from rtslib_fb import RTSRoot, Target, TPG # etc. | ||
Note: This compatibility layer may be deprecated in future versions. | ||
Please consider updating your imports to use 'rtslib' directly. | ||
""" | ||
|
||
import rtslib | ||
from rtslib import * # noqa: F403 | ||
|
||
# Explicitly import and re-export submodules | ||
from rtslib import alua, fabric, node, root, target, tcm, utils # noqa: F401 | ||
|
||
# Re-export all public names from rtslib | ||
__all__ = rtslib.__all__ |