From 4393e282ab10535f210b0b4286ea5b92b2cc3c93 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Wed, 13 Mar 2019 01:55:49 -0700 Subject: [PATCH] Remove date module, as it has been merged into hierarchy --- rbackup/date.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 rbackup/date.py diff --git a/rbackup/date.py b/rbackup/date.py deleted file mode 100644 index bb7963b..0000000 --- a/rbackup/date.py +++ /dev/null @@ -1,12 +0,0 @@ -import datetime -import os.path - -def gen_datetime(*paths): - """Generate a path for a backup directory that contains - the current date and time. - - :param paths: paths to prepend to the result - :type paths: str, bytes, or path-like object - :returns: stuff - """ - return os.path.join(*paths, datetime.datetime.utcnow().isoformat())