fix context_diff in python3
This commit is contained in:
1 parent
ca76aaa80b
commit
2fd8001ba5
1 file changed
+2
-2
@@ -71,8 +71,8 @@ class Command(BaseCommand):
|
||||
diff = "\n".join(context_diff(
|
||||
a=old.splitlines(),
|
||||
b=new.splitlines(),
|
||||
fromfile=config.active_serial,
|
||||
tofile=config.serial,
|
||||
fromfile=str(config.active_serial),
|
||||
tofile=str(config.serial),
|
||||
lineterm=''))
|
||||
|
||||
print(diff)
|
||||
|
||||
Reference in new issue
Block a user