Fix locale test

This commit is contained in:
Tim Bentley 2012-02-25 17:44:21 +00:00
parent c1c1de5472
commit 3e1ba89a41
1 changed files with 2 additions and 3 deletions

View File

@ -328,9 +328,8 @@ def create_separated_list(stringlist):
``stringlist`` ``stringlist``
List of unicode strings List of unicode strings
""" """
#Not available via pyqt yet so will not work! if Qt.PYQT_VERSION_STR >= u'4.9':
#if Qt.qVersion() >= u'4.8': return unicode(QtCore.QLocale.createSeparatedList(stringlist))
# return unicode(QtCore.QLocale.createSeparatedList(stringlist))
if not stringlist: if not stringlist:
return u'' return u''
elif len(stringlist) == 1: elif len(stringlist) == 1: