diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-01-20 15:47:18 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-01-20 15:47:18 +0000 |
commit | d7b153bc76c4c08eebc1cdda8a29d449ab148045 (patch) | |
tree | b70322ff187a1ef432f5ae37169a32a2b7467c45 /src | |
parent | 42baeeacb7618bcc269b2daa30766aff26f4f9f6 (diff) | |
download | bcfg2-d7b153bc76c4c08eebc1cdda8a29d449ab148045.tar.gz bcfg2-d7b153bc76c4c08eebc1cdda8a29d449ab148045.tar.bz2 bcfg2-d7b153bc76c4c08eebc1cdda8a29d449ab148045.zip |
Improve information message in interactive mode (Half-resolves Ticket #367)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2704 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/APT.py | 2 | ||||
-rw-r--r-- | src/lib/Client/Tools/RPM.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/APT.py b/src/lib/Client/Tools/APT.py index 2dbc3644e..3300a8b04 100644 --- a/src/lib/Client/Tools/APT.py +++ b/src/lib/Client/Tools/APT.py @@ -80,7 +80,7 @@ class APT(Bcfg2.Client.Tools.PkgTool): return True else: entry.set('current_version', self.installed[entry.get('name')]) - entry.set('qtext', "Upgrade Package %s (%s -> %s)? (y/N) " % \ + entry.set('qtext', "Upgrade/downgrade Package %s (%s -> %s)? (y/N) " % \ (entry.get('name'), entry.get('current_version'), entry.get('version'))) return False diff --git a/src/lib/Client/Tools/RPM.py b/src/lib/Client/Tools/RPM.py index 36402c79d..f56eeae6c 100644 --- a/src/lib/Client/Tools/RPM.py +++ b/src/lib/Client/Tools/RPM.py @@ -70,7 +70,7 @@ class RPM(Bcfg2.Client.Tools.PkgTool): (entry.get('name'), entry.get('version'), self.installed[entry.get('name')])) entry.set('current_version', self.installed[entry.get('name')]) - entry.set('Upgrade Package %s (%s -> %s)? (y/N) ' % \ + entry.set('Upgrade/downgrade Package %s (%s -> %s)? (y/N) ' % \ (entry.get('name'), entry.get('current_version'), entry.get('version'))) return False |