Bug 508984 - Remove rhpl usage
Remove rhpl usage
Product: Fedora
Classification: Fedora
Component: system-config-users (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Nils Philippsen
Fedora Extras Quality Assurance
Depends On:
Blocks: rhplectomy
  Show dependency treegraph
Reported: 2009-06-30 14:20 EDT by Jeremy Katz
Modified: 2009-09-03 08:29 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-09-03 08:29:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
rhpl.translate -> gettext (4.81 KB, patch)
2009-06-30 14:21 EDT, Jeremy Katz
no flags Details | Diff
Switch to unicode() instead of rhpl.iconv (1.22 KB, patch)
2009-06-30 14:22 EDT, Jeremy Katz
no flags Details | Diff
rhpl.executil -> subprocess (1.17 KB, patch)
2009-06-30 14:23 EDT, Jeremy Katz
no flags Details | Diff

  None (edit)
Description Jeremy Katz 2009-06-30 14:20:28 EDT
system-config-users uses rhpl for a few things.  I've gone ahead and worked up patches to remove the dependency for all three cases
Comment 1 Jeremy Katz 2009-06-30 14:21:31 EDT
Created attachment 349994 [details]
rhpl.translate -> gettext
Comment 2 Jeremy Katz 2009-06-30 14:22:05 EDT
Created attachment 349995 [details]
Switch to unicode() instead of rhpl.iconv

This should be good -- rhpl.iconv was much more needed in the pre-python2 days when bfox wrote the code :)
Comment 3 Jeremy Katz 2009-06-30 14:23:06 EDT
Created attachment 349996 [details]
rhpl.executil -> subprocess

This is a direct conversion.  I think it'd be better, though, to switch to using os.unlink and shutil.rmtree instead of this method.
Comment 4 Nils Philippsen 2009-09-03 08:29:21 EDT
fixed in version 1.2.88

Note You need to log in before you can comment on or make changes to this bug.