Skip to content

Commit

Permalink
split_tokens(): removed unused argument keywordDict
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Feb 18, 2017
1 parent 892833c commit 2252875
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Lib/ldap/schema/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
See http://www.python-ldap.org/ for details.
\$Id: models.py,v 1.48 2015/06/06 09:21:38 stroeder Exp $
\$Id: models.py,v 1.49 2017/02/18 15:32:01 stroeder Exp $
"""

import UserDict,ldap.cidict
Expand Down Expand Up @@ -54,7 +54,7 @@ class SchemaElement:

def __init__(self,schema_element_str=None):
if schema_element_str:
l = split_tokens(schema_element_str,self.token_defaults)
l = split_tokens(schema_element_str)
self.set_id(l[1])
d = extract_tokens(l,self.token_defaults)
self._set_attrs(l,d)
Expand Down
4 changes: 2 additions & 2 deletions Lib/ldap/schema/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
See http://www.python-ldap.org/ for details.
\$Id: tokenizer.py,v 1.13 2009/04/29 18:13:55 stroeder Exp $
\$Id: tokenizer.py,v 1.14 2017/02/18 15:32:01 stroeder Exp $
"""


def split_tokens(s,keywordDict):
def split_tokens(s):
"""
Returns list of syntax elements with quotes and spaces
stripped.
Expand Down

0 comments on commit 2252875

Please sign in to comment.