~facundo/magicicada-client/all-venv

« back to all changes in this revision

Viewing changes to ubuntuone/platform/os_helper/windows.py

  • Committer: Magicicada Bot
  • Author(s): Natalia
  • Date: 2018-03-08 19:54:41 UTC
  • mfrom: (1435.2.2 fix-lint-issues)
  • Revision ID: magicicada_bot-20180308195441-in7h0g114y5fwcl6
[r=facundo] - Fixed lint issues after pep8 version bump.

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
    assert_windows_path(result)
249
249
    return result
250
250
 
 
251
 
251
252
get_os_valid_path = get_windows_valid_path
252
253
 
253
254
 
327
328
    """
328
329
    return _is_valid_path(assert_windows_path, path_indexes)
329
330
 
 
331
 
330
332
is_valid_os_path = is_valid_windows_path
331
333
 
332
334
 
413
415
    """
414
416
    return _transform_path(get_windows_valid_path, path_indexes)
415
417
 
 
418
 
416
419
os_path = windowspath
417
420
 
418
421
 
671
674
        shortcut.SetWorkingDirectory(target)
672
675
        pf = shortcut.QueryInterface(IPersistFile)
673
676
        pf.Save(destination, True)
674
 
    except:
 
677
    except Exception:
675
678
        logger.exception('make_link could not be completed for target %r, '
676
679
                         'destination %r:', target, destination)
677
680
        raise