summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2010-04-08 15:47:26 +0000
committerSol Jerome <solj@ices.utexas.edu>2010-04-08 10:58:57 -0500
commitb5a201ea431cc3cf33c77364bb0bbf33716401bd (patch)
treee5fa177e36940b3a4c247fe5ca7e6d9e3c763d16 /src/lib/Client
parent7c91fe09e86fff9c058e72e47c8b6404f830b453 (diff)
downloadbcfg2-b5a201ea431cc3cf33c77364bb0bbf33716401bd.tar.gz
bcfg2-b5a201ea431cc3cf33c77364bb0bbf33716401bd.tar.bz2
bcfg2-b5a201ea431cc3cf33c77364bb0bbf33716401bd.zip
APT: produce reasonable interactive messages for version=auto entries
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5811 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Tools/APT.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py
index 395b87e77..f44690e8a 100644
--- a/src/lib/Client/Tools/APT.py
+++ b/src/lib/Client/Tools/APT.py
@@ -134,7 +134,7 @@ class APT(Bcfg2.Client.Tools.Tool):
entry.set('current_version', pkg.installedVersion)
entry.set('qtext', "Modify Package %s (%s -> %s)? (y/N) " % \
(entry.get('name'), entry.get('current_version'),
- entry.get('version')))
+ desiredVersion))
return False
else:
# version matches