Reformat with black
This commit is contained in:
parent
c77f585e3a
commit
2ff1a87901
2 changed files with 4 additions and 4 deletions
|
@ -144,7 +144,7 @@ class pesterQuirks(object):
|
|||
|
||||
def apply(self, lexed, first=False, last=False):
|
||||
prefix = [q for q in self.quirklist if q.type == "prefix"]
|
||||
#suffix = [q for q in self.quirklist if q.type == "suffix"]
|
||||
# suffix = [q for q in self.quirklist if q.type == "suffix"]
|
||||
|
||||
newlist = []
|
||||
for (i, o) in enumerate(lexed):
|
||||
|
|
6
memos.py
6
memos.py
|
@ -160,10 +160,10 @@ class TimeTracker(list):
|
|||
|
||||
def addRecord(self, timed):
|
||||
try:
|
||||
#(temporal, pcf, when) = pcfGrammar(timed - timedelta(0))
|
||||
# (temporal, pcf, when) = pcfGrammar(timed - timedelta(0))
|
||||
pcf = pcfGrammar(timed - timedelta(0))[1]
|
||||
except TypeError:
|
||||
#(temporal, pcf, when) = pcfGrammar(mysteryTime())
|
||||
# (temporal, pcf, when) = pcfGrammar(mysteryTime())
|
||||
pcf = pcfGrammar(mysteryTime())[1]
|
||||
if pcf == "C" or pcf == "?":
|
||||
return
|
||||
|
@ -173,7 +173,7 @@ class TimeTracker(list):
|
|||
|
||||
def getRecord(self, timed):
|
||||
try:
|
||||
#(temporal, pcf, when) = pcfGrammar(timed - timedelta(0))
|
||||
# (temporal, pcf, when) = pcfGrammar(timed - timedelta(0))
|
||||
pcf = pcfGrammar(timed - timedelta(0))[1]
|
||||
except TypeError:
|
||||
pcf = pcfGrammar(mysteryTime())[1]
|
||||
|
|
Loading…
Reference in a new issue