Changeset 888:db695c0faa77 in hatta-dev


Ignore:
Timestamp:
02/16/12 00:26:02 (3 months ago)
Author:
Radomir Dopieralski <sheep-devel@…>
Branch:
default
Tags:
tip
Message:

Explicitly use string (not unicode) keywords in parser params

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hatta/parser.py

    r887 r888  
    101101            if bind_to is not None: 
    102102                function = getattr(bind_to, function.__name__) 
    103             params = dict((k, v) for (k, v) in params.iteritems() 
     103            params = dict((str(k), v) for (k, v) in params.iteritems() 
    104104                          if v is not None and k not in self.rules) 
    105105            yield function(**params) 
Note: See TracChangeset for help on using the changeset viewer.