1

以下代码打印空列表“[]”。我期待指定日期范围内所有更改列表的列表。我需要修复什么才能获得更改列表?

from P4 import P4,P4Exception

p4 = P4()
p4.port = "perforce:1666"
p4.user = "kvenkatraman"
p4.client = "kvenkatraman_tp"
p4.cwd = "C:\sv"


try:

    p4.connect()
    #info = p4.run("info")
    info = p4.run("changes","-s","submitted","\"//depot/psp/dev/...%402013/06/01,%40now\"")
    print info
    p4.disconnect()

except P4Exception:

    for e in p4.errors:
        print e

问候库马尔

4

1 回答 1

1

尝试更改"\"//depot/psp/dev/...%402013/06/01,%40now\"""//depot/psp/dev/...@2013/06/01,@now"

于 2013-11-29T19:52:09.947 回答