From 3c44a51ccad8345549ce094850e34b75f08596f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Tue, 20 Jun 2006 10:01:25 +0000 Subject: [PATCH] * fix typo, all for ismail. --- pisi/atomicoperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index a449d256..108f8f3d 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -294,7 +294,7 @@ class Install(AtomicOperation): if newf.type == 'config' and oldf.type == 'config': # config upgrade fpath = pisi.util.join_path(ctx.config.dest_dir(), oldf.path) try: - if pisi.util.sha1_file(fpath) != fileinfo.hash: + if pisi.util.sha1_file(fpath) != oldf.hash: # old config file changed, don't overwrite config_changed.append(fpath) if os.path.exists(fpath + '.old'):