Remove duplicated module-level constants
This commit is contained in:
parent
85e19952bd
commit
22395bf00e
@ -19,7 +19,7 @@ import logging
|
|||||||
import re
|
import re
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
from rbackup.struct.hierarchy import Hierarchy
|
from rbackup.struct.hierarchy import DIRMODE, FILEMODE, Hierarchy
|
||||||
from rbackup.struct.snapshot import Snapshot
|
from rbackup.struct.snapshot import Snapshot
|
||||||
|
|
||||||
# ========== Logging Setup ===========
|
# ========== Logging Setup ===========
|
||||||
@ -27,9 +27,6 @@ syslog = logging.getLogger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
# ========== Constants ==========
|
# ========== Constants ==========
|
||||||
DIRMODE = 0o755
|
|
||||||
FILEMODE = 0o644
|
|
||||||
|
|
||||||
VALID_SNAPSHOT_NAME = r"[\w._+-]+[^/]*"
|
VALID_SNAPSHOT_NAME = r"[\w._+-]+[^/]*"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user