Skip to content

Commit e2455d4

Browse files
committed
last at osprey
1 parent ec737a9 commit e2455d4

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

py/dump.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/python3
22

3-
import sys
4-
53

64
def main():
75
from clang.cindex import Index
@@ -19,10 +17,10 @@ def main():
1917
parser.add_argument("--max-depth", dest='maxDepth',
2018
help="limit cursor expansion to depth N",
2119
metavar="N", type=int, default=None)
22-
opts, unknown = parser.parse_known_args(sys.argv)
20+
opts, unknown = parser.parse_known_args()
2321

2422
index = Index.create()
25-
tu = index.parse(None, args=sys.argv[1:])
23+
tu = index.parse(None, unknown)
2624
if not tu:
2725
parser.error("unable to load input")
2826

py/test_ctypes/testlib.c

Lines changed: 0 additions & 5 deletions
This file was deleted.

py/test_ctypes/testlibwrapper.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)