Mercurial > code > home > repos > homeauto
changeset 162:bb70eaa45666
whitespace
Ignore-this: 29ddf8925c373bdb1ec8f62a01f0ac4f
author | drewp@bigasterisk.com |
---|---|
date | Sun, 22 Mar 2015 00:41:55 -0700 |
parents | b0c168f562e8 |
children | 4b0f221d790c |
files | service/dhcpleases/dhcpleases.py service/tomatoWifi/tomatoWifi.py |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/service/dhcpleases/dhcpleases.py Sun Mar 22 00:35:10 2015 -0700 +++ b/service/dhcpleases/dhcpleases.py Sun Mar 22 00:41:55 2015 -0700 @@ -10,12 +10,12 @@ from twisted.internet import reactor from isc_dhcp_leases.iscdhcpleases import IscDhcpLeases - DEV = Namespace("http://projects.bigasterisk.com/device/") ROOM = Namespace("http://projects.bigasterisk.com/room/") def timeLiteral(dt): - return Literal(dt.replace(tzinfo=tzlocal()).isoformat(), datatype=XSD.dateTime) + return Literal(dt.replace(tzinfo=tzlocal()).isoformat(), + datatype=XSD.dateTime) class GraphHandler(cyclone.web.RequestHandler): def get(self):
--- a/service/tomatoWifi/tomatoWifi.py Sun Mar 22 00:35:10 2015 -0700 +++ b/service/tomatoWifi/tomatoWifi.py Sun Mar 22 00:41:55 2015 -0700 @@ -9,6 +9,7 @@ activity stream, when we start saving history Todo: this should be the one polling and writing to mongo, not entrancemusic + """ from __future__ import division import sys, cyclone.web, json, traceback, time, pystache, datetime, logging