Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /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
- 195 retry = []
- 202 if to_retry:
- 'name': 'in',
- 'type': <ConnectionType: Cisco | ME3400E | PSU>,
- 'type__name': 'Cisco | ME3400E | PSU'}],
- 'data': {'asset': {'part_no0': 'ME34X-PWR-AC'}},
- 'description': 'AC PSU for Cisco ME3400E Series switches',
- 'is_builtin': True,
- 'name': 'Cisco | ME3400E | ME34X-PWR-AC',
- 'vendor__code': 'CISCO'}
- Function: handle
- 260 if not a:
- 261 raise CommandError("Invalid collection: %s" % name)
- 263 else: [0/1844]
- 264 # Sync all collections
- 265 for app, collections in self.collections:
- 266 for collection, doc in collections:
- 267 ==> CollectionSync(app, collection, doc).sync()
- 268 except CommandError, why:
- 269 raise CommandError(why)
- 270 except:
- 271 error_report()
- Variables:
- doc = <class 'noc.inv.models.objectmodel.ObjectModel'>
- app = 'inv'
- args = ()
- collection = 'objectmodels'
- self =
- <noc.main.management.commands.sync-collections.Command object at 0x5070910>
- collections =
- [('vendors', <class 'noc.inv.models.vendor.Vendor'>),
- ('modelinterfaces', <class 'noc.inv.models.modelinterface.ModelInterface'>),
- ('connectiontypes', <class 'noc.inv.models.connectiontype.ConnectionType'>),
- ('objectmodels', <class 'noc.inv.models.objectmodel.ObjectModel'>)]
- options =
- {'pythonpath': None, 'settings': None, 'traceback': None, 'verbosity': '1'}
- ------------------------------------------------------------------------
- END OF TRACEBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement