/breezy/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/trunk

« back to all changes in this revision

Viewing changes to tools/win32/brz-win32-bdist-postinstall.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-16 13:02:50 UTC
  • mto: This revision was merged to the branch mainline in revision 7178.
  • Revision ID: jelmer@jelmer.uk-20181116130250-wzj191jizriee3vn
Fix E225.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    # use bdist_wininst builtins to create a shortcut.
94
94
    # CSIDL_COMMON_PROGRAMS only available works on NT/2000/XP, and
95
95
    # will fail there if the user has no admin rights.
96
 
    if get_root_hkey()==_winreg.HKEY_LOCAL_MACHINE:
 
96
    if get_root_hkey() == _winreg.HKEY_LOCAL_MACHINE:
97
97
        try:
98
98
            fldr = get_special_folder_path("CSIDL_COMMON_PROGRAMS")
99
99
        except OSError: