Mercurial > code > home > repos > light9
comparison bin/subserver @ 1866:3c523c71da29
pyflakes cleanups and some refactors
Ignore-this: f7372e678699175feb4e628eee3d768c
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 25 May 2019 12:10:51 +0000 |
parents | 40cc863d2b63 |
children |
comparison
equal
deleted
inserted
replaced
1865:1aa91a31c0e2 | 1866:3c523c71da29 |
---|---|
2 """ | 2 """ |
3 live web display of all existing subs with pictures, mainly for | 3 live web display of all existing subs with pictures, mainly for |
4 dragging them into CC or Timeline | 4 dragging them into CC or Timeline |
5 """ | 5 """ |
6 from run_local import log | 6 from run_local import log |
7 import sys, optparse, logging, json, subprocess, datetime | 7 import optparse, logging, json, subprocess, datetime |
8 from dateutil.tz import tzlocal | 8 from dateutil.tz import tzlocal |
9 from twisted.internet import reactor, defer | 9 from twisted.internet import reactor, defer |
10 import cyclone.web, cyclone.httpclient, cyclone.websocket | 10 import cyclone.web, cyclone.httpclient, cyclone.websocket |
11 from rdflib import RDF, URIRef, Literal | 11 from rdflib import URIRef, Literal |
12 import pyjade.utils | 12 import pyjade.utils |
13 from rdfdb.syncedgraph import SyncedGraph | 13 from rdfdb.syncedgraph import SyncedGraph |
14 from rdfdb.patch import Patch | 14 from rdfdb.patch import Patch |
15 from light9.namespaces import L9, DCTERMS | 15 from light9.namespaces import L9, DCTERMS |
16 from light9 import networking, showconfig | 16 from light9 import networking, showconfig |