diff --git a/bin/cheat b/bin/cheat index 2b518e7..7358e93 100755 --- a/bin/cheat +++ b/bin/cheat @@ -42,7 +42,6 @@ from cheat.sheet import Sheet from cheat.sheets import Sheets from cheat.utils import Utils from docopt import docopt -import os if __name__ == '__main__': @@ -57,7 +56,7 @@ if __name__ == '__main__': editor = Editor(config) sheets = Sheets(config) utils = Utils(config) - sheet = Sheet(sheets, utils, editor) + sheet = Sheet(sheets, editor) # list directories if options['--directories']: diff --git a/cheat/sheet.py b/cheat/sheet.py index 0fffd82..cf7fbfe 100644 --- a/cheat/sheet.py +++ b/cheat/sheet.py @@ -2,15 +2,11 @@ import io import os import shutil -from cheat.editor import Editor -from cheat.utils import Utils - class Sheet: - def __init__(self, sheets, utils, editor): + def __init__(self, sheets, editor): self._sheets = sheets - self._utils = utils self._editor = editor def copy(self, current_sheet_path, new_sheet_path): diff --git a/cheat/utils.py b/cheat/utils.py index fad1453..b865756 100644 --- a/cheat/utils.py +++ b/cheat/utils.py @@ -1,6 +1,4 @@ from __future__ import print_function -import os -import subprocess import sys