Changeset 154 for trunk


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

closes #9

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changelog

    r151 r154  
     13.0.2:
     2  * If option remove is specified, then do not ask for configuration file,
     3    closses #9
     4    Reporter: Ramon Bastiaans (SARA)
     5    Author  : Bas van der Vlies
     6
    173.0.1:
    28  * Import AdvancedParser instead of sara location.
  • trunk/debian/changelog

    r151 r154  
     1pxeconfig (3.0.2-1) stable; urgency=low
     2
     3  * If option remove is specified, then do not ask for configuration file, closses #9
     4    Reporter: Ramon Bastiaans (SARA)
     5    Author  : Bas van der Vlies
     6
     7
     8 -- Bas van der Vlies <basv@sara.nl>  Mon, 27 Apr 2009 11:48:30 +0200
     9
    110pxeconfig (3.0.1-1) stable; urgency=low
    211
  • 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.