Mercurial > code > home > repos > light9
view DataTypes/NextTime.py @ 117:c071ada6ae2b
removed an extra import
removed an extra import
changed the shbang line to /usr/bin/python, which makes a better-looking sys.argv[0],
which is used in the IPC
author | drewp |
---|---|
date | Fri, 13 Jun 2003 13:57:38 +0000 |
parents | 45b12307c695 |
children |
line wrap: on
line source
'''Baby, there won't be no next time''' class NextTime: def __init__(self, nextclock, interval=None) self.nextclock = nextclock self.interval = interval def cylic(self): return interval is not None