mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
69bf544c5c
clean up test target ("do-test: fake" doesn't work, at least with
ports_privsep, maybe at all)
28 lines
508 B
Plaintext
28 lines
508 B
Plaintext
apply 2to3 and additional fixes
|
|
|
|
Index: testmodule.py
|
|
--- testmodule.py.orig
|
|
+++ testmodule.py
|
|
@@ -1,13 +1,13 @@
|
|
import rcsparse
|
|
-import md5
|
|
|
|
f=rcsparse.rcsfile('test,v')
|
|
-print f.head
|
|
-print f.branch
|
|
+print(f.head)
|
|
+print(f.branch)
|
|
s=f.symbols
|
|
-print s['RELENG_4']
|
|
-print s.items()
|
|
+print(s['RELENG_4'])
|
|
+print(list(s.items()))
|
|
r=f.revs
|
|
-i=r.items()
|
|
-print i
|
|
-print f.getlog(f.sym2rev('RELENG_4'))
|
|
+i=list(r.items())
|
|
+print(i)
|
|
+print(f.getlog(f.sym2rev('RELENG_4')).decode('ascii'))
|
|
+print('1.1' in r)
|