##// END OF EJS Templates
Add some missing deprecation warnings
Matthias Bussonnier -
Show More
@@ -251,31 +251,31 b' def get_xdg_cache_dir():'
251 251
252 252 @undoc
253 253 def get_ipython_dir():
254 warn("get_ipython_dir has moved to the IPython.paths module since IPython 4.0.", stacklevel=2)
254 warn("get_ipython_dir has moved to the IPython.paths module since IPython 4.0.", DeprecationWarning, stacklevel=2)
255 255 from IPython.paths import get_ipython_dir
256 256 return get_ipython_dir()
257 257
258 258 @undoc
259 259 def get_ipython_cache_dir():
260 warn("get_ipython_cache_dir has moved to the IPython.paths module since IPython 4.0.", stacklevel=2)
260 warn("get_ipython_cache_dir has moved to the IPython.paths module since IPython 4.0.", DeprecationWarning, stacklevel=2)
261 261 from IPython.paths import get_ipython_cache_dir
262 262 return get_ipython_cache_dir()
263 263
264 264 @undoc
265 265 def get_ipython_package_dir():
266 warn("get_ipython_package_dir has moved to the IPython.paths module since IPython 4.0.", stacklevel=2)
266 warn("get_ipython_package_dir has moved to the IPython.paths module since IPython 4.0.", DeprecationWarning, stacklevel=2)
267 267 from IPython.paths import get_ipython_package_dir
268 268 return get_ipython_package_dir()
269 269
270 270 @undoc
271 271 def get_ipython_module_path(module_str):
272 warn("get_ipython_module_path has moved to the IPython.paths module since IPython 4.0.", stacklevel=2)
272 warn("get_ipython_module_path has moved to the IPython.paths module since IPython 4.0.", DeprecationWarning, stacklevel=2)
273 273 from IPython.paths import get_ipython_module_path
274 274 return get_ipython_module_path(module_str)
275 275
276 276 @undoc
277 277 def locate_profile(profile='default'):
278 warn("locate_profile has moved to the IPython.paths module since IPython 4.0.", stacklevel=2)
278 warn("locate_profile has moved to the IPython.paths module since IPython 4.0.", DeprecationWarning, stacklevel=2)
279 279 from IPython.paths import locate_profile
280 280 return locate_profile(profile=profile)
281 281
General Comments 0
You need to be logged in to leave comments. Login now