infocalypse

(djk)
2009-09-30: Bugfix: Fixed OBO in assertion causing fn-push to fail.

Bugfix: Fixed OBO in assertion causing fn-push to fail.

diff --git a/infocalypse/doc/infocalypse_howto.html b/infocalypse/doc/infocalypse_howto.html
--- a/infocalypse/doc/infocalypse_howto.html
+++ b/infocalypse/doc/infocalypse_howto.html
@@ -659,6 +659,8 @@ SSKs as well.
 <li> Automatic rollups <p>
 Older changes are automatically 'rolled up' into large splitfiles, such that
 the entire repository can almost always be fetched in 4 CHK fetches or less.
+<li> Fails explictly <p>
+REDFLAG DCI
 </ul>
 <p>
 <a href="#toc">[TOC]</a>
diff --git a/infocalypse/gensig.py b/infocalypse/gensig.py
--- a/infocalypse/gensig.py
+++ b/infocalypse/gensig.py
@@ -46,7 +46,7 @@ CFG_PATH = os.path.expanduser(DEFAULT_CF
 #               + 'qfu5H3FZsZ-5rfNBY-jQHS5Ke7AT2PtJWd13IrPZjcg,'
 #               + 'AQACAAE/feral_codewright/14/infocalypse_howto.html')
 
-FREEFAQ_INDEX = 22
+FREEFAQ_INDEX = 23
 STATIC_TEXT = ('Know stuff about stuff? Add it to FreeFAQ:\n'
                + 'USK@EbQbLWtWLRBgQl4Ly-SjQJvzADdJPfIXNQfCbKzgCFI,'
                + 'XDLYQTC0nYD4rhIIP~Ff~itkvVVF2u4WU8YVSL2f5RA,AQACAAE/'
diff --git a/infocalypse/updatesm.py b/infocalypse/updatesm.py
--- a/infocalypse/updatesm.py
+++ b/infocalypse/updatesm.py
@@ -397,7 +397,7 @@ class InsertingGraph(StaticRequestList):
 
         # Make sure the string rep is small enough!
         graph_bytes = graph_to_string(self.working_graph)
-        assert len(graph_bytes) < 31 * 1024
+        assert len(graph_bytes) <= 31 * 1024
 
         # Insert the graph twice for redundancy
         self.queue(['CHK@', 0, True, '#A\n' + graph_bytes, None, None])