Description: Disable pycco
 pycco is not available on Debian. Disable it.
Author: Jean-Michel Nirgal Vourgère <jmv_deb@nirgal.com>
Forwarded: no
Last-Update: 2015-01-12

Index: django-session-security/docs/source/conf.py
===================================================================
--- django-session-security.orig/docs/source/conf.py
+++ django-session-security/docs/source/conf.py
@@ -12,7 +12,7 @@
 # serve to show the default.
 
 import re
-import six
+#import six
 import sys, os, os.path
 
 # If extensions (or modules to document with autodoc) are in another directory,
@@ -29,22 +29,22 @@
 
 project_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '../../'))
 static_root = os.path.abspath(os.path.join(os.path.dirname(__file__), '_static'))
-import pycco
-for script in ('script',):
-    html = pycco.generate_documentation(
-        os.path.join(project_root, 'session_security/static/session_security/%s.js' % script),
-        static_root
-    )
-    html = re.sub(
-        r'"[^"]*pycco.css',
-        '"pycco.css',
-        html
-    )
-    out = os.path.join(static_root, '%s.html' % script)
-    if os.path.exists(out):
-        os.unlink(out)
-    with open(out, 'wb+') as f:
-        f.write(six.u(html))
+#import pycco
+#for script in ('script',):
+#    html = pycco.generate_documentation(
+#        os.path.join(project_root, 'session_security/static/session_security/%s.js' % script),
+#        static_root
+#    )
+#    html = re.sub(
+#        r'"[^"]*pycco.css',
+#        '"pycco.css',
+#        html
+#    )
+#    out = os.path.join(static_root, '%s.html' % script)
+#    if os.path.exists(out):
+#        os.unlink(out)
+#    with open(out, 'wb+') as f:
+#        f.write(six.u(html))
 
 # -- General configuration -----------------------------------------------------
 
