Commits

Anonymous committed ceea619

bug: .items() missing

Comments (0)

Files changed (3)

pypeg2/__init__.py

     pass
 
 
-__version__ = 2.7
+__version__ = 2.8
 __author__ = "Volker Birk"
 __license__ = "This program is under GNU General Public License 2.0."
 __url__ = "http://fdik.org/pyPEG"
         else:
             super(List, self).__init__(args)
 
-        for k, v in kwargs:
+        for k, v in kwargs.items():
             setattr(self, k, v)
 
     def __repr__(self):
     pass
 
 
-__version__ = 2.7
+__version__ = 2.8
 __author__ = "Volker Birk"
 __license__ = "This program is under GNU General Public License 2.0."
 __url__ = "http://fdik.org/pyPEG"
 from distutils.core import setup
 
-_version = '2.7.1'
+_version = '2.8'
 
 setup(
     name='pyPEG2',
     description='An intrinsic PEG Parser-Interpreter for Python',
     long_description=open('README.txt').read(),
     requires=['lxml',],
+    provides=['pyPEG2 (' + _version + ')',],
     classifiers=[
         'Development Status :: 5 - Production/Stable',
         'Intended Audience :: Developers',