From 82eaca01ca795453a8fc712f08033b5e5a0c294c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Mon, 6 Mar 2006 13:39:44 +0000 Subject: [PATCH] use constant. --- pisi/atomicoperations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/atomicoperations.py b/pisi/atomicoperations.py index 33e1aecc..2ec61ad7 100644 --- a/pisi/atomicoperations.py +++ b/pisi/atomicoperations.py @@ -392,7 +392,7 @@ class Remove(AtomicOperation): # do not remove precious files :) # just write anything permanent="true" for instance return - if fileinfo.type == "config": + if fileinfo.type == ctx.const.conf: if os.path.isfile(fpath): os.rename(fpath, fpath + ".oldconfig") else: