From 59ccf598739353e94a71391a7807923f78a71f15 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Thu, 28 Oct 2021 10:12:05 +0800 Subject: Remove unused imports --- jimbrella/database.py | 5 +---- jimbrella/users.py | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/jimbrella/database.py b/jimbrella/database.py index 7f82799..9ca3c5b 100644 --- a/jimbrella/database.py +++ b/jimbrella/database.py @@ -1,9 +1,6 @@ -import csv -import os from datetime import datetime, timedelta from .csv_table import CsvTable -from .lockfile import Lockfile -from .utils import identity, human_datetime, human_timedelta +from .utils import human_datetime, human_timedelta from .config import DUE_HOURS from .exceptions import * diff --git a/jimbrella/users.py b/jimbrella/users.py index 3276062..4a6348e 100644 --- a/jimbrella/users.py +++ b/jimbrella/users.py @@ -1,6 +1,4 @@ -import csv from .csv_table import CsvTable -from .lockfile import Lockfile from .exceptions import UsernameTakenError @@ -27,7 +25,6 @@ class Users(CsvTable): def __init__(self, path): self.path = path - self.lockfile = Lockfile(self.path) super().__init__( path, [ -- cgit v1.2.3