/[ascend]/branches/georgy/ascend-config.in
ViewVC logotype

Diff of /branches/georgy/ascend-config.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3131 by georgy, Sun Jun 26 21:19:24 2016 UTC revision 3132 by georgy, Sun Jun 26 21:19:27 2016 UTC
# Line 33  def path_absolute(p): Line 33  def path_absolute(p):
33  # platform specific name munging for '-L' and '-I' file paths...  # platform specific name munging for '-L' and '-I' file paths...
34  munge = lambda s: s  munge = lambda s: s
35    
36  if platform.system()=="Windows":  if platform.system()=="Windows" and os.path.sep == '\\':
37      import _winreg      import _winreg
38      x=_winreg.ConnectRegistry(None,_winreg.HKEY_LOCAL_MACHINE)      x=_winreg.ConnectRegistry(None,_winreg.HKEY_LOCAL_MACHINE)
39      y= _winreg.OpenKey(x,r"SOFTWARE\ASCEND")      y= _winreg.OpenKey(x,r"SOFTWARE\ASCEND")

Legend:
Removed from v.3131  
changed lines
  Added in v.3132

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22