summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-01-24 14:47:28 -0500
committerScott Moser <smoser@ubuntu.com>2014-01-24 14:47:28 -0500
commitc92cd051a1d598f83de03c4135c800b17fd46a9a (patch)
tree29f0f5a19b933576c1962f86eeab27658639df46 /setup.py
parentb37125d7d33ee03b88ad65a0b6930c79c79e9a87 (diff)
downloadvyos-cloud-init-c92cd051a1d598f83de03c4135c800b17fd46a9a.tar.gz
vyos-cloud-init-c92cd051a1d598f83de03c4135c800b17fd46a9a.zip
pep8/pylint fixes
tools/run-pep8 wasn't checking all python files. tools/run-pylint wasnt checking bin/cloud-init fixed resultant pep8 issues after finding them.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 8d18b97e..9118e5f6 100755
--- a/setup.py
+++ b/setup.py
@@ -63,7 +63,7 @@ def tiny_p(cmd, capture=True):
(out, err) = sp.communicate()
ret = sp.returncode # pylint: disable=E1101
if ret not in [0]:
- raise RuntimeError("Failed running %s [rc=%s] (%s, %s)"
+ raise RuntimeError("Failed running %s [rc=%s] (%s, %s)"
% (cmd, ret, out, err))
return (out, err)
@@ -102,7 +102,7 @@ class InitsysInstallData(install):
" specifying a init system!") % (", ".join(INITSYS_TYPES)))
elif self.init_system:
self.distribution.data_files.append(
- (INITSYS_ROOTS[self.init_system],
+ (INITSYS_ROOTS[self.init_system],
INITSYS_FILES[self.init_system]))
# Force that command to reinitalize (with new file list)
self.distribution.reinitialize_command('install_data', True)
@@ -134,7 +134,7 @@ setuptools.setup(name='cloud-init',
[f for f in glob('doc/examples/seed/*') if is_f(f)]),
],
install_requires=read_requires(),
- cmdclass = {
+ cmdclass={
# Use a subclass for install that handles
# adding on the right init system configuration files
'install': InitsysInstallData,