mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-13 22:28:33 +00:00
fucking colons...
This commit is contained in:
parent
b3176962c8
commit
b6057ad335
@ -36,7 +36,7 @@ def get_fuckups(): # returns a dictionary of your fuckups from ~/.thefuck/my_fuc
|
||||
|
||||
return fuckups
|
||||
|
||||
def add_fuckup(fucked, fixed)
|
||||
def add_fuckup(fucked, fixed):
|
||||
|
||||
print 'Adding fucked: ' + fucked + ' as fixed: ' + fixed
|
||||
|
||||
@ -50,7 +50,7 @@ def add_fuckup(fucked, fixed)
|
||||
|
||||
return
|
||||
|
||||
def remove_fuckup(fuckup)
|
||||
def remove_fuckup(fuckup):
|
||||
|
||||
print 'Removing fucked: ' + fucked + ' as fixed: ' + fixed
|
||||
|
||||
@ -65,7 +65,7 @@ def remove_fuckup(fuckup)
|
||||
|
||||
FILE = open(FILENAME, 'w')
|
||||
|
||||
for number, line in enumerate(lines)
|
||||
for number, line in enumerate(lines):
|
||||
if line != fuckup and line != fuckup_cmd:
|
||||
FILE.write(line)
|
||||
elif line == fuckup:
|
||||
|
Loading…
x
Reference in New Issue
Block a user