Skip to content

Commit 1c8a9bd

Browse files
committed
removed relics
1 parent 967b397 commit 1c8a9bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

comtypes/test/test_portabledevice.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,13 @@ def downloadFirstFile(objectID):
103103
resources = content.Transfer()
104104
STGM_READ = c_uint(0)
105105
optimalTransferSizeBytes = pointer(c_ulong(0))
106-
pFileStream = POINTER(port_api.IStream)()
107-
optimalTransferSizeBytes, pFileStream = resources.GetStream(
106+
optimalTransferSizeBytes, fileStream = resources.GetStream(
108107
objectID,
109108
WPD_RESOURCE_DEFAULT,
110109
STGM_READ,
111110
optimalTransferSizeBytes,
112111
)
113112
blockSize = optimalTransferSizeBytes.contents.value
114-
fileStream = pFileStream.value
115113
while True:
116114
#
117115
# # This crashes without an exception - likely a segfault somewhere deeper.

0 commit comments

Comments
 (0)