1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-09-18 11:12:30 +01:00

Minor refactoring

This commit is contained in:
nvbn
2015-09-08 15:24:49 +03:00
parent 1173f9f59c
commit b8ce95ad68
8 changed files with 36 additions and 29 deletions

View File

@@ -1,4 +1,3 @@
from pathlib import Path
from thefuck import types
from thefuck.conf import DEFAULT_PRIORITY
@@ -24,6 +23,3 @@ class CorrectedCommand(types.CorrectedCommand):
def __init__(self, script='', side_effect=None, priority=DEFAULT_PRIORITY):
super(CorrectedCommand, self).__init__(
script, side_effect, priority)
root = Path(__file__).parent.parent.resolve()