make pep8 happy and be more pythonic

Signed-off-by: Markus Gattol <markus.gattol@sunoano.org>
This commit is contained in:
Markus Gattol 2011-11-09 14:12:15 +00:00
parent 8bcda2bdd7
commit d018ae29a5
2 changed files with 5 additions and 5 deletions

View file

@ -586,9 +586,9 @@ class SaltRun(object):
dest='doc',
default=False,
action='store_true',
help='Display documentation for runners, pass a module or ' +\
'a runner to see documentation on only that ' +\
'module/runner')
help=('Display documentation for runners, pass a module or '
'a runner to see documentation on only that '
'module/runner.'))
options, args = parser.parse_args()

View file

@ -15,8 +15,8 @@ from salt import __version__
NAME = 'salt'
VER = __version__
DESC = 'Portable, distributed, remote execution and configuration management system'
DESC = ('Portable, distributed, remote execution and '
'configuration management system')
mod_path = os.path.join(get_python_lib(), 'salt/modules')
doc_path = os.path.join(PREFIX, 'share/doc', NAME + '-' + VER)
example_path = os.path.join(doc_path, 'examples')