pgk / genignore

Generate .gitignore files
MIT License
4 stars 1 forks source link

AttributeError with Python 3.4.1 #8

Closed git-commit closed 9 years ago

git-commit commented 9 years ago

I'm experiencing the following issue when using genignore with python 3.4.1

$ genignore gen python jetbrains >> .gitignore
Traceback (most recent call last):
  File "c:\Python34\Scripts\genignore-script.py", line 9, in <module>
    load_entry_point('genignore==0.4.0', 'console_scripts', 'genignore')()
  File "C:\Python34\lib\site-packages\genignore\genignore.py", line 210, in main_func
    exit(main(sys.argv[1:]))
  File "C:\Python34\lib\site-packages\genignore\genignore.py", line 196, in main

    build_gitignore(selected, out=out)
  File "C:\Python34\lib\site-packages\genignore\genignore.py", line 130, in build_gitignore
    for name, template in templates_for_merging.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'