summaryrefslogtreecommitdiffstats
path: root/pyload/setup/system.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-10-03 19:21:05 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-10-03 19:21:05 +0200
commita8d3e8341eee6af4c778f512d7f8584c476d49fe (patch)
tree777681f695f64488c4aa5e869cf937112077befc /pyload/setup/system.py
parentsmall bug fixes (diff)
downloadpyload-a8d3e8341eee6af4c778f512d7f8584c476d49fe.tar.xz
basically working web setup
Diffstat (limited to 'pyload/setup/system.py')
-rw-r--r--pyload/setup/system.py16
1 files changed, 9 insertions, 7 deletions
diff --git a/pyload/setup/system.py b/pyload/setup/system.py
index 6e7039331..dab6d1d17 100644
--- a/pyload/setup/system.py
+++ b/pyload/setup/system.py
@@ -3,6 +3,8 @@
import sys
import os
+from new_collections import OrderedDict
+
# gettext decorator, translated only when needed
_ = lambda x: x
@@ -17,12 +19,12 @@ def get_system_info():
if info is None:
import platform
- info = {
- _("Platform"): platform.platform(),
- _("Version"): sys.version,
- _("Path"): os.path.abspath(""),
- _("Encoding"): sys.getdefaultencoding(),
- _("FS-Encoding"): sys.getfilesystemencoding()
- }
+ info = OrderedDict([
+ (_("Platform"), platform.platform()),
+ (_("Version"), sys.version),
+ (_("Path"), os.path.abspath("")),
+ (_("Encoding"), sys.getdefaultencoding()),
+ (_("FS-Encoding"), sys.getfilesystemencoding())
+ ])
return info \ No newline at end of file