mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-12 21:32:59 +00:00
setup: have the buildbots print out locale.getpreferredencoding(), locale.getdefaultlocale(), locale.getlocale(), and os.path.supports_unicode_filenames
Even though that latter one is completely useless, I'm curious.
This commit is contained in:
parent
5bcca5151e
commit
68d292a968
@ -1,6 +1,6 @@
|
||||
#! /usr/bin/env python
|
||||
|
||||
import os, subprocess, sys
|
||||
import locale, os, subprocess, sys
|
||||
|
||||
def print_platform():
|
||||
try:
|
||||
@ -17,7 +17,11 @@ def print_python_ver():
|
||||
print ', maxunicode: ' + str(sys.maxunicode),
|
||||
print ', stdout.encoding: ' + str(sys.stdout.encoding),
|
||||
print ', stdin.encoding: ' + str(sys.stdin.encoding),
|
||||
print ', filesystem.encoding: ' + str(sys.getfilesystemencoding())
|
||||
print ', filesystem.encoding: ' + str(sys.getfilesystemencoding()),
|
||||
print ', locale.getpreferredencoding: ' + str(locale.getpreferredencoding()),
|
||||
print ', os.path.supports_unicode_filenames: ' + str(os.path.supports_unicode_filenames),
|
||||
print ', locale.defaultlocale: ' + str(locale.getdefaultlocale()),
|
||||
print ', locale.locale: ' + str(locale.getlocale())
|
||||
|
||||
def print_cmd_ver(cmdlist, label=None):
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user