From d4d20221c1d3e1258c4a30b47dcb80668e5fc020 Mon Sep 17 00:00:00 2001 From: "Dr. Peter Poeml" Date: Fri, 19 May 2006 20:28:04 +0000 Subject: [PATCH] fix diff for last change (of course it was reverse) --- osc/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index 3bda7821..632fc2eb 100755 --- a/osc/core.py +++ b/osc/core.py @@ -600,8 +600,8 @@ def get_source_file_diff_upstream(prj, package, filename): def get_source_file_diff(dir, filename, rev): import difflib - file1 = os.path.join(dir, filename) - file2 = os.path.join(dir, store, filename) + file1 = os.path.join(dir, store, filename) # stored original + file2 = os.path.join(dir, filename) # working copy f1 = open(file1, 'r') f2 = open(file2, 'r')