~ubuntu-branches/ubuntu/lucid/blender/lucid

« back to all changes in this revision

Viewing changes to source/blender/python/api2_2x/doc/Sys.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-06 22:32:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806223219-8z4eej1u8levu4pz
Tags: 2.49a+dfsg-0ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Build-depend on python-2.6 rather than python-2.5.
  - debian/misc/*.desktop: Add Spanish translation to .desktop 
    files.
  - debian/pyversions: 2.6.
  - debian/rules: Clean *.o of source/blender/python/api2_2x/
* New upstream release (LP: #382153).
* Refreshed patches:
  - 01_sanitize_sys.patch
  - 02_tmp_in_HOME
  - 10_use_systemwide_ftgl
  - 70_portability_platform_detection
* Removed patches merged upstream:
  - 30_fix_python_syntax_warning
  - 90_ubuntu_ffmpeg_52_changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
  @rtype: string
175
175
  @return: the cleaned (if necessary) path.
176
176
  """
 
177
 
 
178
def relpath (path, start="//"):
 
179
  """
 
180
  Returns the path relative to the start, 
 
181
  @note: If the path can be made relative it well start with "//", this is spesific to blender and should be converted to "./" for use as a system path.
 
182
  @type path: string
 
183
  @param path: a path name.
 
184
  @type start: string
 
185
  @param start: optional argument for the base path, the current blend files base path is used omitted
 
186
  @rtype: string
 
187
  @return: The path relative to start
 
188
  """
 
 
b'\\ No newline at end of file'