Skip to content
Snippets Groups Projects
Commit 0ea83fce authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

linelen

parent b191541b
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,6 @@ pygments_style = 'sphinx' ...@@ -81,7 +81,6 @@ pygments_style = 'sphinx'
# If true, `todo` and `todoList` produce output, else they produce nothing. # If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False todo_include_todos = False
# -- Options for HTML output ---------------------------------------------- # -- Options for HTML output ----------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
...@@ -100,13 +99,11 @@ html_theme = 'alabaster' ...@@ -100,13 +99,11 @@ html_theme = 'alabaster'
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] html_static_path = ['_static']
# -- Options for HTMLHelp output ------------------------------------------ # -- Options for HTMLHelp output ------------------------------------------
# Output file base name for HTML help builder. # Output file base name for HTML help builder.
htmlhelp_basename = 'satelladoc' htmlhelp_basename = 'satelladoc'
# -- Options for LaTeX output --------------------------------------------- # -- Options for LaTeX output ---------------------------------------------
latex_elements = { latex_elements = {
...@@ -135,7 +132,6 @@ latex_documents = [ ...@@ -135,7 +132,6 @@ latex_documents = [
u'Piotr Maslanka', 'manual'), u'Piotr Maslanka', 'manual'),
] ]
# -- Options for manual page output --------------------------------------- # -- Options for manual page output ---------------------------------------
# One entry per manual page. List of tuples # One entry per manual page. List of tuples
...@@ -145,7 +141,6 @@ man_pages = [ ...@@ -145,7 +141,6 @@ man_pages = [
[author], 1) [author], 1)
] ]
# -- Options for Texinfo output ------------------------------------------- # -- Options for Texinfo output -------------------------------------------
# Grouping the document tree into Texinfo files. List of tuples # Grouping the document tree into Texinfo files. List of tuples
...@@ -156,6 +151,3 @@ texinfo_documents = [ ...@@ -156,6 +151,3 @@ texinfo_documents = [
author, 'satella', 'One line description of project.', author, 'satella', 'One line description of project.',
'Miscellaneous'), 'Miscellaneous'),
] ]
...@@ -2,17 +2,17 @@ Welcome to satella's documentation! ...@@ -2,17 +2,17 @@ Welcome to satella's documentation!
=================================== ===================================
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2
:caption: Contents: :caption: Contents:
coding/monitor coding/monitor
coding/debug coding/debug
coding/typechecking coding/typechecking
coding/structures coding/structures
instrumentation/traceback instrumentation/traceback
instrumentation/metrics instrumentation/metrics
source/modules source/modules
examples/echoist examples/echoist
Indices and tables Indices and tables
......
...@@ -144,7 +144,7 @@ class StoredVariable(object): ...@@ -144,7 +144,7 @@ class StoredVariable(object):
self.pickle = zlib.compress( self.pickle = zlib.compress(
self.pickle, self.pickle,
policy.get_compression_level( policy.get_compression_level(
self.pickle)) self.pickle))
self.pickle_type = "pickle/gzip" self.pickle_type = "pickle/gzip"
except zlib.error: except zlib.error:
pass # ok, keep normal pass # ok, keep normal
...@@ -255,7 +255,7 @@ class Traceback(object): ...@@ -255,7 +255,7 @@ class Traceback(object):
output.write(u'\n* Stack trace, innermost first\n') output.write(u'\n* Stack trace, innermost first\n')
for frame in self.frames: for frame in self.frames:
output.write(u'** %s at %s:%s\n' % ( output.write(u'** %s at %s:%s\n' % (
frame.name, frame.filename, frame.lineno)) frame.name, frame.filename, frame.lineno))
for name, value in six.iteritems(frame.locals): for name, value in six.iteritems(frame.locals):
try: try:
output.write(u'*** %s: %s\n' % (name, value.repr)) output.write(u'*** %s: %s\n' % (name, value.repr))
......
...@@ -4,12 +4,12 @@ from setuptools import setup, find_packages ...@@ -4,12 +4,12 @@ from setuptools import setup, find_packages
setup(keywords=['ha', 'high availability', 'scalable', 'scalability', 'server'], setup(keywords=['ha', 'high availability', 'scalable', 'scalability', 'server'],
packages=find_packages(include=['satella', 'satella.*']), packages=find_packages(include=['satella', 'satella.*']),
install_requires=[ install_requires=[
"six", "six",
"monotonic", "monotonic",
"backports.typing" "backports.typing"
], ],
tests_require=[ tests_require=[
"nose", "mock", "coverage" "nose", "mock", "coverage"
], ],
test_suite='nose.collector' test_suite='nose.collector'
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment