[Python-checkins] r80041 - in python/branches/release31-maint: Lib/test/test_winsound.py

mark.dickinson python-checkins at python.org
Tue Apr 13 13:55:57 CEST 2010


Author: mark.dickinson
Date: Tue Apr 13 13:55:57 2010
New Revision: 80041

Log:
Merged revisions 80040 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r80040 | mark.dickinson | 2010-04-13 12:54:59 +0100 (Tue, 13 Apr 2010) | 1 line
  
  Fix invalid syntax.
........


Modified:
   python/branches/release31-maint/   (props changed)
   python/branches/release31-maint/Lib/test/test_winsound.py

Modified: python/branches/release31-maint/Lib/test/test_winsound.py
==============================================================================
--- python/branches/release31-maint/Lib/test/test_winsound.py	(original)
+++ python/branches/release31-maint/Lib/test/test_winsound.py	Tue Apr 13 13:55:57 2010
@@ -16,7 +16,7 @@
         key = winreg.OpenKeyEx(_winreg.HKEY_CURRENT_USER,
                 "AppEvents\Schemes\Apps\.Default\{0}\.Default".format(sound))
         value = winreg.EnumValue(key, 0)[1]
-        if value is not u"":
+        if value is not "":
             return True
         else:
             return False


More information about the Python-checkins mailing list