[devdocsgjs/main: 611/1867] clean up entries.rb




commit 65c222011551e4fb0e35d8b966934c80e48255c8
Author: Mathieu PATUREL <australie p gmail com>
Date:   Sat Apr 27 10:56:43 2019 +1000

    clean up entries.rb

 lib/docs/filters/trio/entries.rb | 3 +--
 public/docs/docs.json            | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/lib/docs/filters/trio/entries.rb b/lib/docs/filters/trio/entries.rb
index bb5207f0..4ee6aab1 100644
--- a/lib/docs/filters/trio/entries.rb
+++ b/lib/docs/filters/trio/entries.rb
@@ -38,8 +38,7 @@ module Docs
             name = cls + name
           end
 
-          id = node.parent['id']
-          entries << [name, id]
+          entries << [name, node.parent['id']]
         end
       end
     end
diff --git a/public/docs/docs.json b/public/docs/docs.json
index df09fc48..e27f82ee 100644
--- a/public/docs/docs.json
+++ b/public/docs/docs.json
@@ -63,7 +63,7 @@
       "code": "https://github.com/python-trio/trio";
     },
     "release": "0.11",
-    "mtime": 1556279513,
+    "mtime": 1556326478,
     "db_size": 757201
   }
 ]
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]