[IMP] res_users: remove unused stuff

bzr revid: rco@openerp.com-20111206163200-pmw8n30nlnjn3foy
This commit is contained in:
Raphael Collet
2011-12-06 17:32:00 +01:00
parent 96878a5fc6
commit fdfcf965db
-4
View File
@@ -22,11 +22,8 @@
import logging
from functools import partial
from xml.sax.saxutils import quoteattr
import simplejson
import pytz
from lxml import etree
import netsvc
import pooler
@@ -683,7 +680,6 @@ def get_boolean_group(name): return int(name[9:])
def get_boolean_groups(name): return map(int, name[10:].split('_'))
def get_selection_groups(name): return map(int, name[11:].split('_'))
def encode(s): return s.encode('utf8') if isinstance(s, unicode) else s
def partition(f, xs):
"return a pair equivalent to (filter(f, xs), filter(lambda x: not f(x), xs))"
yes, nos = [], []