ezyang/git-ftp

AttributeError

kbjr opened this issue · 1 comments

kbjr commented

I don't know what's causing this, its probably an issue on my end, but I keep getting the following error:

kbjr@kbjr-desktop:~/public_html/jsk-website$ git ftp 
FTP Password: 
WARNING: Working copy is dirty; uncommitted changes will NOT be uploaded
Traceback (most recent call last):
  File "/home/kbjr/bin/git-ftp", line 228, in 
    main()
  File "/home/kbjr/bin/git-ftp", line 67, in main
    upload_all(tree, ftp, base)
  File "/home/kbjr/bin/git-ftp", line 161, in upload_all
    for item in tree.items():
  File "/usr/local/lib/python2.6/dist-packages/gitdb-0.5.1-py2.6-linux-i686.egg/gitdb/util.py", line 209, in __getattr__
    return object.__getattribute__(self, attr)
AttributeError: 'Tree' object has no attribute 'items'

This is on Ubuntu Karmic. Any other info you might need, just ask.

kbjr commented

Fixed. (see issue #4)