Browse Source

Fix a typo.

tags/v1.0^2
Ben Kurtovic 10 years ago
parent
commit
ed6d0258b2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bitshift/query/nodes.py

+ 1
- 1
bitshift/query/nodes.py View File

@@ -115,7 +115,7 @@ class Date(_Node):
self.date = date self.date = date


def __repr__(self): def __repr__(self):
types = {self.CREATE: "CREATE", self.MODIFY: MODIFY}
types = {self.CREATE: "CREATE", self.MODIFY: "MODIFY"}
relations = {self.BEFORE: "BEFORE", self.AFTER: "AFTER"} relations = {self.BEFORE: "BEFORE", self.AFTER: "AFTER"}
tm = "Date({0}, {1}, {2})" tm = "Date({0}, {1}, {2})"
return tm.format(types[self.type], relations[self.relation], self.date) return tm.format(types[self.type], relations[self.relation], self.date)


Loading…
Cancel
Save