Skip to content

Commit

Permalink
Patch fixup, port was not complete
Browse files Browse the repository at this point in the history
  • Loading branch information
moio committed Dec 5, 2018
1 parent 23ea16c commit 8e5cf2c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/satellite_tools/contentRemove.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ def __serverCheck(labels, unsubscribe):
return 0

if unsubscribe:
server_ids = [s['id'] for s in server_list]
xmlrpc = RemoteApi("https://" + getfqdn() + "/rpc/api", username, password)
xmlrpc.unsubscribe_channels(server_ids, base_channel, labels)
return __unsubscribeServers(labels)

print("\nCurrently there are systems subscribed to one or more of the specified channels.")
Expand Down Expand Up @@ -171,6 +168,7 @@ def __unsubscribeServers(labels):
pb.addTo(1)
pb.printIncrement()
pb.printComplete()
rhnSQL.commit()


def __kickstartCheck(labels):
Expand Down

0 comments on commit 8e5cf2c

Please sign in to comment.