Ignore:
Timestamp:
04/27/09 11:50:14 (15 years ago)
Author:
bas
Message:

closes #9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/pxeconfig.py.in

    r152 r154  
    305305                        pass
    306306
    307         if options.filename:
    308                 if not os.path.isfile(os.path.join(PXE_CONF_DIR, options.filename)):
     307        if not options.REMOVE:
     308                if options.filename:
     309                        if not os.path.isfile(os.path.join(PXE_CONF_DIR, options.filename)):
    309310                                error =  '%s: Filename does not exists' %(options.filename)
    310311                                raise PxeConfig, error
    311         else:
    312                 options.filename = select_pxe_configfile()
     312                else:
     313                        options.filename = select_pxe_configfile()
    313314
    314315        if options.DEBUG:
Note: See TracChangeset for help on using the changeset viewer.