From 22395bf00e0a261345730e10f43ef1ddfba0611a Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 17 Apr 2019 10:06:09 -0700 Subject: [PATCH] Remove duplicated module-level constants --- rbackup/struct/repository.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rbackup/struct/repository.py b/rbackup/struct/repository.py index d824d23..14ce07d 100644 --- a/rbackup/struct/repository.py +++ b/rbackup/struct/repository.py @@ -19,7 +19,7 @@ import logging import re import shutil -from rbackup.struct.hierarchy import Hierarchy +from rbackup.struct.hierarchy import DIRMODE, FILEMODE, Hierarchy from rbackup.struct.snapshot import Snapshot # ========== Logging Setup =========== @@ -27,9 +27,6 @@ syslog = logging.getLogger(__name__) # ========== Constants ========== -DIRMODE = 0o755 -FILEMODE = 0o644 - VALID_SNAPSHOT_NAME = r"[\w._+-]+[^/]*"