def get_svnpath():
    '''
    This subroutine gives back the path of the whole svn tree
    installation, which is necessary for the script to run.

    '''
    svnpathtmp = __file__
    splitsvnpath = svnpathtmp.split('/')
    if len(splitsvnpath) == 1:
        svnpath = os.path.abspath('.') + '/../../'
    else:
        svnpath = ''
        for i in range(len(splitsvnpath)-3):
            svnpath += splitsvnpath[i] + '/'
    return svnpath
def get_svnpath ( ) : svnpathtmp = __file__ splitsvnpath = svnpathtmp . split ( '/' ) if len ( splitsvnpath ) == 1 : svnpath = os . path . abspath ( '.' ) + '/../../' else : svnpath = '' for i in range ( len ( splitsvnpath ) - 3 ) : svnpath += splitsvnpath [ i ] + '/' return svnpath
This subroutine gives back the path of the whole svn tree
    installation, which is necessary for the script to run.