~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Frank Aspell
  • Date: 2009-02-22 16:54:02 UTC
  • mto: This revision was merged to the branch mainline in revision 4256.
  • Revision ID: frankaspell@googlemail.com-20090222165402-2myrucnu7er5w4ha
Fixing various typos

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
    If location cannot be obtained return system drive root,
280
280
    i.e. C:\
281
281
 
282
 
    Returned value can be unicode or plain sring.
 
282
    Returned value can be unicode or plain string.
283
283
    To convert plain string to unicode use
284
284
    s.decode(osutils.get_user_encoding())
285
285
    """
302
302
    """Return user name as login name.
303
303
    If name cannot be obtained return None.
304
304
 
305
 
    Returned value can be unicode or plain sring.
 
305
    Returned value can be unicode or plain string.
306
306
    To convert plain string to unicode use
307
307
    s.decode(osutils.get_user_encoding())
308
308
    """
447
447
 
448
448
def get_app_path(appname):
449
449
    """Look up in Windows registry for full path to application executable.
450
 
    Typicaly, applications create subkey with their basename
 
450
    Typically, applications create subkey with their basename
451
451
    in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\
452
452
 
453
453
    :param  appname:    name of application (if no filename extension