use constant.

This commit is contained in:
Barış Metin
2006-03-06 13:39:44 +00:00
parent ce6652ce61
commit 82eaca01ca
+1 -1
View File
@@ -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: