mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00
Fix PEP8 errors
This commit is contained in:
parent
3b23ccf92c
commit
69a76f2597
7 changed files with 18 additions and 21 deletions
|
@ -5,4 +5,3 @@ def resolve_tasks(taskset, manifest):
|
|||
if manifest.system['release'] in ['wheezy', 'stable']:
|
||||
taskset.add(tasks.AddBackports)
|
||||
taskset.update([tasks.AddONEContextPackage])
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ class AddBackports(Task):
|
|||
info.source_lists.add('backports', 'deb {apt_mirror} {system.release}-backports main')
|
||||
info.source_lists.add('backports', 'deb-src {apt_mirror} {system.release}-backports main')
|
||||
|
||||
|
||||
class AddONEContextPackage(Task):
|
||||
description = 'Adding the OpenNebula context package'
|
||||
phase = phases.preparation
|
||||
|
|
|
@ -51,8 +51,7 @@ def resolve_tasks(tasklist, manifest):
|
|||
tasks.boot.ConfigureGrub,
|
||||
cleanup.ClearMOTD,
|
||||
cleanup.CleanTMP,
|
||||
|
||||
tasks.image.ConvertToVhd
|
||||
tasks.image.ConvertToVhd,
|
||||
])
|
||||
|
||||
if manifest.bootstrapper.get('tarball', False):
|
||||
|
|
|
@ -20,6 +20,7 @@ class DefaultPackages(Task):
|
|||
info.packages.add('python-pyasn1')
|
||||
info.packages.add('sudo')
|
||||
|
||||
|
||||
class Waagent(Task):
|
||||
description = 'Add waagent'
|
||||
phase = phases.package_installation
|
||||
|
|
|
@ -186,7 +186,7 @@ htmlhelp_basename = 'bootstrap-vzdoc'
|
|||
|
||||
# -- Options for LaTeX output ---------------------------------------------
|
||||
|
||||
latex_elements = {
|
||||
latex_elements = {}
|
||||
# The paper size ('letterpaper' or 'a4paper').
|
||||
#'papersize': 'letterpaper',
|
||||
|
||||
|
@ -195,13 +195,11 @@ latex_elements = {
|
|||
|
||||
# Additional stuff for the LaTeX preamble.
|
||||
#'preamble': '',
|
||||
}
|
||||
|
||||
# Grouping the document tree into LaTeX files. List of tuples
|
||||
# (source start file, target name, title,
|
||||
# author, documentclass [howto, manual, or own class]).
|
||||
latex_documents = [
|
||||
('index', 'bootstrap-vz.tex', u'bootstrap-vz Documentation',
|
||||
latex_documents = [('index', 'bootstrap-vz.tex', u'bootstrap-vz Documentation',
|
||||
u'Anders Ingemann', 'manual'),
|
||||
]
|
||||
|
||||
|
@ -244,8 +242,7 @@ man_pages = [
|
|||
# Grouping the document tree into Texinfo files. List of tuples
|
||||
# (source start file, target name, title, author,
|
||||
# dir menu entry, description, category)
|
||||
texinfo_documents = [
|
||||
('index', 'bootstrap-vz', u'bootstrap-vz Documentation',
|
||||
texinfo_documents = [('index', 'bootstrap-vz', u'bootstrap-vz Documentation',
|
||||
u'Anders Ingemann', 'bootstrap-vz', 'One line description of project.',
|
||||
'Miscellaneous'),
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue