~ubuntu-branches/ubuntu/hardy/python-docutils/hardy

« back to all changes in this revision

Viewing changes to test/test_readers/test_python/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): martin f. krafft
  • Date: 2006-07-10 11:45:05 UTC
  • mfrom: (2.1.4 edgy)
  • Revision ID: james.westby@ubuntu.com-20060710114505-otkhqcslevewxmz5
Tags: 0.4-3
Added build dependency on python-central (closes: #377580).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
import os.path
3
3
import sys
4
4
 
5
 
sys.path.insert(0, os.path.abspath(os.curdir))
 
5
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
6
6
prev = ''
7
7
while sys.path[0] != prev:
8
8
    try: