- Timestamp:
- 01/26/10 17:22:12 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-display/python/avango/display/__init__.py
r297 r339 42 42 display_type = arg 43 43 elif opt in ("-i", "--inspector"): 44 import avango.inspector # Only import if request! GTK fails without a proper display 44 # Only import if request! GTK fails without a proper display. 45 # 'global' statement is used to avoid making avango a local variable and 46 # thus inaccessible for the rest of the function! 47 global avango 48 import avango.inspector 45 49 inspector = avango.inspector.nodes.Inspector() 46 50 elif opt in ("-o", "--option"):
Note: See TracChangeset
for help on using the changeset viewer.
