Permalink
Browse files

Delete dead code

  • Loading branch information...
1 parent 3cbb247 commit 7bfcad1b0f58dc024d2832d541a9a7f1f47c841b @batterseapower batterseapower committed Nov 23, 2009
Showing with 0 additions and 11 deletions.
  1. +0 −11 pinyin/updater.py
View
@@ -68,14 +68,3 @@ def updatefact(self, fact, expression):
def shouldupdatefield(theconfig):
return lambda field: config.updatecontrolflags[field] is None or theconfig.settings[config.updatecontrolflags[field]]
-
-def partitionfact(fact):
- known, needed = {}, set()
- for field in fact:
- value = fact[field]
- if factproxy.isgeneratedfield(field, value):
- needed.add(field)
- else:
- known[field] = value
-
- return (known, needed)

0 comments on commit 7bfcad1

Please sign in to comment.