Changeset 160


Ignore:
Timestamp:
05/28/09 15:53:36 (12 years ago)
Author:
bas
Message:

src/pxeconfig.in:

  • if import pxeconfig fails then append installation path to sys.path, see #10
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/pxeconfig.in

    r147 r160  
    2828#
    2929import sys
    30 import pxeconfig
     30
     31try:
     32        import pxeconfig
     33execept ImportError, detail:
     34        sys.path.append('@prefix@/lib/python@PYTHON_VERSION@/site-packages')
     35        import pxeconfig
    3136
    3237if __name__ == '__main__':
Note: See TracChangeset for help on using the changeset viewer.