root/gaphor/tags/gaphor-0.12.3/bin/gaphor

Revision 756, 133 bytes (checked in by wrobell, 3 years ago)

- del sys.path[0], so some of scripts (like pdb.py) are not imported from

/usr/bin or /usr/local/bin

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!python
2
3 import sys
4
5 del sys.path[0]
6
7 import gaphor
8
9 model = None
10 if len(sys.argv) > 1:
11     model = sys.argv[1]
12
13 gaphor.main(model)
Note: See TracBrowser for help on using the browser.