fix old_files method

Returns old files instead of new files info.
Probably not what it was meant for.
This commit is contained in:
Yariv Kenan
2017-08-08 23:31:17 +03:00
committed by Dave Halter
parent 270f70ea7e
commit 9a43c35a4d

View File

@@ -29,7 +29,7 @@ class Refactoring(object):
def old_files(self):
dct = {}
for old_path, (new_path, old_l, new_l) in self.change_dct.items():
dct[new_path] = '\n'.join(new_l)
dct[old_path] = '\n'.join(old_l)
return dct
def new_files(self):