Advertisement
Guest User

Untitled

a guest
Oct 29th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.06 KB | None | 0 0
  1. /opt/noc/lib/python2.6/site-packages/django/utils/translation/__init__.py:63: DeprecationWarning: Translations in the project directory aren't supported anyFunction: sync_item
  2. 195 retry = []
  3. 202 if to_retry:
  4. 'name': 'in',
  5. 'type': <ConnectionType: Cisco | ME3400E | PSU>,
  6. 'type__name': 'Cisco | ME3400E | PSU'}],
  7. 'data': {'asset': {'part_no0': 'ME34X-PWR-AC'}},
  8. 'description': 'AC PSU for Cisco ME3400E Series switches',
  9. 'is_builtin': True,
  10. 'name': 'Cisco | ME3400E | ME34X-PWR-AC',
  11. 'vendor__code': 'CISCO'}
  12. Function: handle
  13. 260 if not a:
  14. 261 raise CommandError("Invalid collection: %s" % name)
  15. 263 else: [0/1844]
  16. 264 # Sync all collections
  17. 265 for app, collections in self.collections:
  18. 266 for collection, doc in collections:
  19. 267 ==> CollectionSync(app, collection, doc).sync()
  20. 268 except CommandError, why:
  21. 269 raise CommandError(why)
  22. 270 except:
  23. 271 error_report()
  24. Variables:
  25. doc = <class 'noc.inv.models.objectmodel.ObjectModel'>
  26. app = 'inv'
  27. args = ()
  28. collection = 'objectmodels'
  29. self =
  30. <noc.main.management.commands.sync-collections.Command object at 0x5070910>
  31. collections =
  32. [('vendors', <class 'noc.inv.models.vendor.Vendor'>),
  33. ('modelinterfaces', <class 'noc.inv.models.modelinterface.ModelInterface'>),
  34. ('connectiontypes', <class 'noc.inv.models.connectiontype.ConnectionType'>),
  35. ('objectmodels', <class 'noc.inv.models.objectmodel.ObjectModel'>)]
  36. options =
  37. {'pythonpath': None, 'settings': None, 'traceback': None, 'verbosity': '1'}
  38. ------------------------------------------------------------------------
  39. END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement