aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <brian.dolbec@gmail.com>2011-01-17 20:49:22 -0800
committerBrian Dolbec <brian.dolbec@gmail.com>2011-01-17 20:49:22 -0800
commitad77d827f659ed8e1c99e658f3a683d1dbfa2751 (patch)
tree5e715211c47e70561a2210f60985112f982f906f
parentminor word change (diff)
downloadoverlord-ad77d827f659ed8e1c99e658f3a683d1dbfa2751.tar.gz
overlord-ad77d827f659ed8e1c99e658f3a683d1dbfa2751.tar.bz2
overlord-ad77d827f659ed8e1c99e658f3a683d1dbfa2751.zip
fix the missing '+' and line continuation
-rw-r--r--layman/cli.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/layman/cli.py b/layman/cli.py
index 107a2aa..faf806f 100644
--- a/layman/cli.py
+++ b/layman/cli.py
@@ -193,15 +193,13 @@ class Main(object):
def Add(self):
''' Adds the selected overlays.
'''
- print "Add()", self.config['add']
selection = decode_selection(self.config['add'])
- print "selection =", selection
if 'ALL' in selection:
selection = self.api.get_available()
self.output.debug('Adding selected overlays', 6)
result = self.api.add_repos(selection)
if result:
- self.output.info('Successfully added overlay(s) '
+ self.output.info('Successfully added overlay(s) '+\
', '.join(selection) +'.', 2)
else:
errors = self.api.get_errors()