~ubuntu-branches/ubuntu/natty/mago/natty

« back to all changes in this revision

Viewing changes to bin/mago

  • Committer: Bazaar Package Importer
  • Author(s): Ara Pulido
  • Date: 2010-12-03 16:08:32 UTC
  • Revision ID: james.westby@ubuntu.com-20101203160832-97pz2nxwmo54iwfk
Tags: 0.3-0ubuntu3
* Updated from trunk
 + Added new applications to our tests base
 + Fixes LP: #682845 

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
os.environ['NO_GAIL'] = '1'
5
5
os.environ['NO_AT_BRIDGE'] = '1'
6
6
 
 
7
magobindir = os.path.dirname(__file__)
 
8
# Do we run from a bzr checkout ?
 
9
if os.path.exists(os.path.join(magobindir, "../.bzr")):
 
10
    sys.path.insert(0, os.path.abspath(os.path.join(magobindir, '..')))
 
11
 
7
12
from mago.cmd.main import main
8
13
 
9
14
if __name__ == "__main__":