Ignore:
Timestamp:
Oct 2, 2013, 1:43:59 AM (11 years ago)
Author:
glynn
Message:

Remove bogosity from r57910

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/trunk/lib/python/script/core.py

    r57910 r57911  
    328328
    329329    args = make_command(prog, flags, overwrite, quiet, verbose, **options)
    330     # using Python executable to run the module if it is a script
    331     # expecting at least module name at first position
    332     # cannot use make_command for this now because it is used in GUI
    333     if sys.platform == "win32":
    334         args[0] = get_real_command(args[0])
    335         if args[0].endswith('.py'):
    336             args.insert(0, sys.executable)
    337330
    338331    if debug_level() > 0:
     
    484477    """
    485478    args = make_command(prog, flags, overwrite, quiet, verbose, **kwargs)
    486     # using Python executable to run the module if it is a script
    487     # expecting at least module name at first position
    488     # cannot use make_command for this now because it is used in GUI
    489     if sys.platform == "win32":
    490         args[0] = get_real_command(args[0])
    491         if args[0].endswith('.py'):
    492             args.insert(0, sys.executable)
    493479
    494480    if env == None:
Note: See TracChangeset for help on using the changeset viewer.