~dhillon-v10/qa-regression-testing/mago-packages-checking

« back to all changes in this revision

Viewing changes to bin/mago

  • Committer: Vikram Dhillon
  • Date: 2010-01-12 02:42:18 UTC
  • Revision ID: dhillonv10@gmail.com-20100112024218-7ntl2wrpbxqjb3kx
Initial commit: getting in the data from mago

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
import sys, os
 
3
 
 
4
os.environ['NO_GAIL'] = '1'
 
5
os.environ['NO_AT_BRIDGE'] = '1'
 
6
 
 
7
from mago.cmd.main import main
 
8
 
 
9
if __name__ == "__main__":
 
10
    # Pass complete file name as program name
 
11
    args = sys.argv
 
12
    args[0] = __file__
 
13
    sys.exit(main(args))