示例#1
0
def test():
    print win32helper.getargs()
    print sys.argv

    uargs = ['P:\\hg-fixutf8\\fixutf8.py', 'thi\xc5\x9b', 'i\xc5\x9b',
             '\xc4\x85', 't\xc4\x99\xc5\x9bt']
    for s in uargs:
        win32helper.rawprint(win32helper.hStdOut, s + "\n")
示例#2
0
def test():
    print win32helper.getargs()
    print sys.argv

    uargs = [
        'P:\\hg-fixutf8\\fixutf8.py', 'thi\xc5\x9b', 'i\xc5\x9b', '\xc4\x85',
        't\xc4\x99\xc5\x9bt'
    ]
    for s in uargs:
        win32helper.rawprint(win32helper.hStdOut, s + "\n")
示例#3
0
 def f(orig, ui, *args, **kwds):
     if not getbuffers(ui):
         win32helper.rawprint(h, ''.join(args))
     else:
         orig(ui, *args, **kwds)
示例#4
0
 def f(orig, ui, *args, **kwds):
     if type(ui) == _ui.ui and not getbuffers(ui):
         win32helper.rawprint(h, ''.join(args))
     else:
         orig(ui, *args, **kwds)