Changeset 06b0211b in mainline for tools/ew.py


Ignore:
Timestamp:
2013-04-29T11:29:45Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
aa2b32c
Parents:
ba4799a (diff), df956b9b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    rba4799a r06b0211b  
    3939def run_in_console(cmd, title):
    4040        cmdline = 'xterm -T ' + '"' + title + '"' + ' -e ' + cmd
    41         print cmdline
     41        print(cmdline)
    4242        subprocess.call(cmdline, shell = True);
    4343
     
    8181def qemu_net_options():
    8282        nic_options = qemu_nic_e1k_options()
    83         return nic_options + ' -net user -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081'
     83        return nic_options + ' -net user -redir udp:8080::8080 -redir udp:8081::8081 -redir tcp:8080::8080 -redir tcp:8081::8081 -redir tcp:2223::2223'
    8484
    8585def qemu_usb_options():
     
    114114                run_in_console(cmdline, title)
    115115        else:
    116                 print cmdline
     116                print(cmdline)
    117117                subprocess.call(cmdline, shell = True)
    118118               
     
    159159                emu_run, console, image, networking, storage, usb = emulators[platform][mach]
    160160        except:
    161                 print "Cannot start emulation for the chosen configuration."
     161                print("Cannot start emulation for the chosen configuration.")
    162162                return
    163163
Note: See TracChangeset for help on using the changeset viewer.