Skip to content

Commit

Permalink
Fix brace expansion syntax in reset_rhsm
Browse files Browse the repository at this point in the history
  • Loading branch information
synkd committed Oct 25, 2024
1 parent 952b960 commit b875563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robottelo/hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def reset_rhsm(self):
"""Global Registration points the host's sub-man to talk to the Sattelite's Candlepin
but saves the original rhsm.conf. Reset the rhsm.conf so that it points back to the CDN.
"""
self.execute(r'\cp -f /etc/rhsm/rhsm.conf{.bak,}')
self.execute(r'\cp -f /etc/rhsm/rhsm.conf{,.bak}')
self.execute('subscription-manager clean')
self._satellite = None

Expand Down

0 comments on commit b875563

Please sign in to comment.