From f5f27d699c12b53242a145f255965ef31ea1e16a Mon Sep 17 00:00:00 2001 From: "Michael F. Lamb" Date: Tue, 20 Oct 2015 22:27:43 +0000 Subject: [PATCH] update now-incorrect comments --- tildetown/stats.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tildetown/stats.py b/tildetown/stats.py index 3b4d9f6..af0d0fc 100755 --- a/tildetown/stats.py +++ b/tildetown/stats.py @@ -49,24 +49,12 @@ stats.py, which is of the form: Usage: stats.py > /var/www/html/tilde.json """ -# I suppose I could import /var/local/tildetown/tildetown-py/stats.py which -# does much of the same work, but I wanted to try to make one that needs no -# venv nor 'sh' module. (Success.) Bonus: this runs in 0.127s, vs 5.2s -# for 'stats' - -# FIXME: we output quite a bit of redundant data. I think we should lose -# 'live_users' and do that filtering on the client side. - -# FIXME: If we're the only consumer of the stats.py data, let's change the -# client side to use 'users' and drop 'all_users'. - import datetime import hashlib import json import os import pwd import re -import struct import subprocess SYSTEM_USERS = ['wiki', 'root', 'ubuntu', 'nate', 'nobody']