Index: singularity-0.30c/code/screens/base.py
===================================================================
--- singularity-0.30c.orig/code/screens/base.py 2011-06-12 02:23:00.000000000 +0300
+++ singularity-0.30c/code/screens/base.py 2011-12-18 18:45:47.503052131 +0200
@@ -232,7 +232,7 @@
text = g.strings["num_cpu_prompt"] % (item_type.name, space_left)
self.count_dialog.text = text
- self.count_dialog.default_text = locale.format("%d", space_left)
+ self.count_dialog.default_text = str(space_left)
can_exit = False
while not can_exit:
result = dialog.call_dialog(self.count_dialog, self)
@@ -240,7 +240,7 @@
can_exit = True
else:
try:
- count = locale.atoi(result)
+ count = int(result)
if count > space_left:
count = space_left
elif count <= 0: