mirror of
https://github.com/frida/frida-python.git
synced 2026-11-07 09:35:57 -10:00
Use print as function instead of keyword
This commit is contained in:
1 parent
c5b7077a40
commit
a89af5355f
1 file changed
+3
-3
@@ -94,7 +94,7 @@ class Capture(NSObject):
|
||||
try:
|
||||
script.post(message)
|
||||
except Exception as e:
|
||||
print "Failed to post to script:", e
|
||||
print("Failed to post to script:", e)
|
||||
del pool
|
||||
|
||||
def _attachDidCompleteWithSession_script_error_(self, session, script, error):
|
||||
@@ -126,9 +126,9 @@ class Capture(NSObject):
|
||||
self._delegate.captureRecvTotalDidChange()
|
||||
else:
|
||||
if not self.calls._handleStanza_(stanza):
|
||||
print "Woot! Got stanza: %s from=%s" % (stanza['name'], stanza['from'])
|
||||
print("Woot! Got stanza: %s from=%s" % (stanza['name'], stanza['from']))
|
||||
else:
|
||||
print "Unhandled message:", message
|
||||
print("Unhandled message:", message)
|
||||
|
||||
def _onSessionDetached(self):
|
||||
AppHelper.callAfter(self._sessionDidDetach)
|
||||
|
||||
Reference in new issue
Block a user