Changeset 4191
- Timestamp:
- 02/24/09 01:44:41 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branch/NetworkInventory/umitDB/InventoryChanges.py
r4186 r4191 19 19 20 20 from umitCore.I18N import _ 21 from umitCore.UmitLogging import log 21 22 22 23 from umitDB.Connection import ConnectDB … … 84 85 85 86 if not base_data: 86 print ("Inventory id %d has no data for host"87 "address '%s' yet.") % (inv_id, addr)87 log.debug("NetworkInventory: Inventory id %d has no data " 88 "for host address %r yet.", inv_id, addr) 88 89 continue 89 90 … … 359 360 360 361 if value != new_value: 361 print value, new_value, 'differs but Im not doing nothing' 362 log.debug("NetworkInventory: %s, %s differs " 363 "but I'm not doing anything", value, new_value) 362 364 363 365 else: … … 369 371 370 372 if value != old_value: 371 print value, old_value, 'differs but Im not doing nothing' 373 log.debug("NetworkInventory: %s, %s differs " 374 "but I'm not doing anything", value, new_value) 372 375 373 376 else:
