Home | Trees | Indices | Help |
|
---|
|
1 # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. 2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr 3 # 4 # This file is part of logilab-common. 5 # 6 # logilab-common is free software: you can redistribute it and/or modify it under 7 # the terms of the GNU Lesser General Public License as published by the Free 8 # Software Foundation, either version 2.1 of the License, or (at your option) any 9 # later version. 10 # 11 # logilab-common is distributed in the hope that it will be useful, but WITHOUT 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 13 # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 14 # details. 15 # 16 # You should have received a copy of the GNU Lesser General Public License along 17 # with logilab-common. If not, see <http://www.gnu.org/licenses/>. 18 """A few useful context managers 19 20 21 22 23 """ 24 __docformat__ = "restructuredtext en" 25 26 import sys 27 28 if sys.version_info < (2, 5): 29 raise ImportError("python >= 2.5 is required to import logilab.common.contexts") 30 31 import os 32 import tempfile 33 import shutil 34 45 46 58
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jun 11 21:52:21 2010 | http://epydoc.sourceforge.net |