Changeset 4126
- Timestamp:
- 02/19/09 13:13:13 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branch/NetworkInventory/umitInventory/InventoryTree.py
r4124 r4126 167 167 168 168 if self.show_hosts_by == HOSTNAME: # default mode 169 if addr[3] : # check for hosts existance169 if addr[3] and addr[3][0]: # check for hostnames existence 170 170 append_now = addr[3][0] # show first hostname 171 171 172 172 elif self.show_hosts_by == IPV6: 173 if addr[1]: # check for ipv6 exist ance173 if addr[1]: # check for ipv6 existence 174 174 append_now = addr[1] 175 175 176 176 elif self.show_hosts_by == MAC: 177 if addr[2]: # check for ipv6 existance177 if addr[2]: # check for mac existence 178 178 append_now = addr[2] 179 179 … … 197 197 Open Inventory for editing. 198 198 """ 199 # checking for inventory exist ance in schemas file.199 # checking for inventory existence in schemas file. 200 200 schemas = ConfigParser() 201 201 schemas.read(Path.sched_schemas)
