> On 2011-02-26 17:09:28, Nathan Binkert wrote:
> > Perhaps we should make this the top of --help.  How about this as an 
> > alternate implementation for --output-conference-paper
> > 
> > import os
> > import urllib
> > import webbrowser
> > 
> > try:
> >     import pwd
> >     uname = os.getlogin()
> >     pw = pwd.getpwnam(uname)
> >     user = pw.pw_gecos.split(',')[0]
> > except:
> >     user = "M5 User"
> > 
> > user = urllib.quote_plus(user)
> > 
> > print user
> > 
> > url = "http://apps.pdos.lcs.mit.edu/cgi-bin/scigen.cgi?author=%s";
> > webbrowser.open(url % user)
> >

oops.  Remove the "print user"


- Nathan


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.m5sim.org/r/516/#review910
-----------------------------------------------------------


On 2011-02-26 14:16:37, Ali Saidi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviews.m5sim.org/r/516/
> -----------------------------------------------------------
> 
> (Updated 2011-02-26 14:16:37)
> 
> 
> Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and 
> Nathan Binkert.
> 
> 
> Summary
> -------
> 
> Main: Create long talked about output-conference-paper option.
> 
> 
> Diffs
> -----
> 
>   src/python/m5/main.py 05a2f6ac1f8e 
> 
> Diff: http://reviews.m5sim.org/r/516/diff
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Ali
> 
>

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to