summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 7a5c74342..9bc06db22 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -24,7 +24,6 @@ import array
from collections import deque
import fcntl
import formatter
-import fpformat
import logging
import select
import shlex
@@ -8674,7 +8673,7 @@ class JobStatusDisplay(object):
avg = os.getloadavg()
except OSError, e:
return str(e)
- return ", ".join(fpformat.fix(x, digits) for x in avg)
+ return ", ".join(("%%.%df" % digits ) % x for x in avg)
def display(self):
"""