# python3 ./nb-dt-import.py
Package devicetype-library is already installed, updating /opt/netbox_device_type_import/repo
Pulled Repo https://github.com/netbox-community/devicetype-library.git
No Vendors Specified, Gathering All Device-Types
88 Vendors Found
1882 Device-Types Found
[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{"slug":["manufacturer with this slug already exists."]},{},{}]
{"manufacturer":["Related object not found using the provided attributes: {'name': '3Com', 'slug': '3com'}"]}
Traceback (most recent call last):
File "./nb-dt-import.py", line 853, in <module>
main()
File "./nb-dt-import.py", line 826, in main
createDeviceTypes(deviceTypes, nb)
File "./nb-dt-import.py", line 680, in createDeviceTypes
dt.id, nb)
UnboundLocalError: local variable 'dt' referenced before assignment