Skip to content

Commit 4b9472e

Browse files
committed
Remove print debugging
1 parent d8b18d5 commit 4b9472e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

pisi/api.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,6 @@ def wrapper(*__args, **__kw):
7070
inhibit_fd = None
7171
inhibit_file = None
7272
conn, inhibit_fd = pisi.util.systemd_inhibit(reason)
73-
print('API wrapper: conn and inhibit_fd contents, then types.')
74-
print(conn, inhibit_fd)
75-
print('API wrapper: conn and inhibit_fd types.')
76-
print(type(conn), type(inhibit_fd))
7773
if inhibit_fd is not None:
7874
inhibit_file = inhibit_fd.to_file("wb")
7975

pisi/util.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -982,8 +982,6 @@ def systemd_inhibit(reason: str):
982982

983983
# Call and receive the file descriptor
984984
reply = conn.send_and_get_reply(msg)
985-
print('Message Type!!')
986-
print(reply.header.message_type)
987985

988986
if reply.header.message_type != MessageType.method_return:
989987
ctx.ui.warning(_("Failed to acquire inhibit lock: %s" % reply.body))

0 commit comments

Comments
 (0)