Thank you!
Nuno

P.S.: shh, I'm a PHP core developer, so don't tell anyone I made a patch to 
a python script :P

----- Original Message ----- 
> Thanks. Applied with a little changes. (See below.)
>
> 2008/1/25, Nuno Lopes <[EMAIL PROTECTED]>:
>> -    print ' '.join(args)
>> +    #print ' '.join(args)
>
> I want to keep this. This print is helpful when ccc behaves unexpectedly.
>
>> +        if arg[:16] == '-print-prog-name':
>> +            action = 'print-prog-name'
>
> Better arg.startswith('-print-prog-name').
>
>> +    if action == 'print-prog-name':
>> +        # assume we can handle everything
>> +        print sys.argv[0]
>> +        sys.exit(0)
>
> Better return here.
>
> -- 
> Seo Sanghyeon 

_______________________________________________
cfe-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

Reply via email to