| 1 |
# vim: set ft=python ts=4 sw=4 expandtab: |
| 2 |
# ruff: file-ignore[unused-import] # ruff does not like the imports here, but I don't want to break the public interface |
| 3 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 4 |
# |
| 5 |
# C E D A R |
| 6 |
# S O L U T I O N S "Software done right." |
| 7 |
# S O F T W A R E |
| 8 |
# |
| 9 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 10 |
# |
| 11 |
# Author : Kenneth J. Pronovici <[email protected]> |
| 12 |
# Language : Python 3 |
| 13 |
# Project : Cedar Backup, release 3 |
| 14 |
# Purpose : Provides interface backwards compatibility. |
| 15 |
# |
| 16 |
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # |
| 17 |
|
| 18 |
######################################################################## |
| 19 |
# Module documentation |
| 20 |
######################################################################## |
| 21 |
|
| 22 |
""" |
| 23 |
Provides interface backwards compatibility. |
| 24 |
|
| 25 |
In Cedar Backup 2.10.0, a refactoring effort took place while adding code to |
| 26 |
support DVD hardware. All of the writer functionality was moved to the |
| 27 |
writers/ package. This mostly-empty file remains to preserve the Cedar Backup |
| 28 |
library interface. |
| 29 |
|
| 30 |
:author: Kenneth J. Pronovici <[email protected]> |
| 31 |
""" |
| 32 |
|
| 33 |
######################################################################## |
| 34 |
# Imported modules |
| 35 |
######################################################################## |
| 36 |
|
| 37 |
from CedarBackup3.writers.cdwriter import ( |
| 38 |
MEDIA_CDR_74, |
| 39 |
MEDIA_CDR_80, |
| 40 |
MEDIA_CDRW_74, |
| 41 |
MEDIA_CDRW_80, |
| 42 |
CdWriter, |
| 43 |
MediaCapacity, |
| 44 |
MediaDefinition, |
| 45 |
) |
| 46 |
from CedarBackup3.writers.util import validateDriveSpeed, validateScsiId |