##// END OF EJS Templates
Backport PR #5548: FileNotebookManager: Use shutil.move() instead of os.rename()...
Backport PR #5548: FileNotebookManager: Use shutil.move() instead of os.rename() `os.rename()` fails in case the new path is on a different filesystem. For example if a file in `/tmp` is tried to save to home, it causes following error: [Errno 18] Invalid cross-device link using os.rename

File last commit:

r1234:52b55407
r16310:fb0af9c9
Show More
__init__.py
10 lines | 558 B | text/x-python | PythonLexer
# encoding: utf-8
__docformat__ = "restructuredtext en"
#-------------------------------------------------------------------------------
# Copyright (C) 2005 Fernando Perez <fperez@colorado.edu>
# Brian E Granger <ellisonbg@gmail.com>
# Benjamin Ragan-Kelley <benjaminrk@gmail.com>
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-------------------------------------------------------------------------------