Statistics
| Branch: | Tag: | Revision:

root / image_creator / help / __init__.py @ bf3a282c

History | View | Annotate | Download (1.7 kB)

1 3251a62c Nikos Skalkotos
# Copyright 2012 GRNET S.A. All rights reserved.
2 3251a62c Nikos Skalkotos
#
3 3251a62c Nikos Skalkotos
# Redistribution and use in source and binary forms, with or
4 3251a62c Nikos Skalkotos
# without modification, are permitted provided that the following
5 3251a62c Nikos Skalkotos
# conditions are met:
6 3251a62c Nikos Skalkotos
#
7 3251a62c Nikos Skalkotos
#   1. Redistributions of source code must retain the above
8 3251a62c Nikos Skalkotos
#      copyright notice, this list of conditions and the following
9 3251a62c Nikos Skalkotos
#      disclaimer.
10 3251a62c Nikos Skalkotos
#
11 3251a62c Nikos Skalkotos
#   2. Redistributions in binary form must reproduce the above
12 3251a62c Nikos Skalkotos
#      copyright notice, this list of conditions and the following
13 3251a62c Nikos Skalkotos
#      disclaimer in the documentation and/or other materials
14 3251a62c Nikos Skalkotos
#      provided with the distribution.
15 3251a62c Nikos Skalkotos
#
16 3251a62c Nikos Skalkotos
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
17 3251a62c Nikos Skalkotos
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 3251a62c Nikos Skalkotos
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19 3251a62c Nikos Skalkotos
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
20 3251a62c Nikos Skalkotos
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 3251a62c Nikos Skalkotos
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 3251a62c Nikos Skalkotos
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23 3251a62c Nikos Skalkotos
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 3251a62c Nikos Skalkotos
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 3251a62c Nikos Skalkotos
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26 3251a62c Nikos Skalkotos
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 3251a62c Nikos Skalkotos
# POSSIBILITY OF SUCH DAMAGE.
28 3251a62c Nikos Skalkotos
#
29 3251a62c Nikos Skalkotos
# The views and conclusions contained in the software and
30 3251a62c Nikos Skalkotos
# documentation are those of the authors and should not be
31 3251a62c Nikos Skalkotos
# interpreted as representing official policies, either expressed
32 3251a62c Nikos Skalkotos
# or implied, of GRNET S.A.
33 3251a62c Nikos Skalkotos
34 3251a62c Nikos Skalkotos
import sys
35 3251a62c Nikos Skalkotos
import os
36 3251a62c Nikos Skalkotos
37 f99fe99d Nikos Skalkotos
38 3251a62c Nikos Skalkotos
def get_help_file(name):
39 3251a62c Nikos Skalkotos
    dirname = os.path.dirname(sys.modules[__name__].__file__)
40 3251a62c Nikos Skalkotos
    return "%s%s%s.rst" % (dirname, os.sep, name)
41 3251a62c Nikos Skalkotos
42 3251a62c Nikos Skalkotos
# vim: set sta sts=4 shiftwidth=4 sw=4 et ai :