~ahasenack/landscape-client/landscape-client-1.5.5-0ubuntu0.9.04.0

« back to all changes in this revision

Viewing changes to scripts/landscape-sysinfo

  • Committer: Bazaar Package Importer
  • Author(s): Rick Clark
  • Date: 2008-09-08 16:35:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: james.westby@ubuntu.com-20080908163557-fl0d2oc35hur473w
Tags: upstream-1.0.18
ImportĀ upstreamĀ versionĀ 1.0.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
import sys, os
 
3
if os.path.dirname(os.path.abspath(sys.argv[0])) == os.path.abspath("scripts"):
 
4
    sys.path.insert(0, "./")
 
5
 
 
6
from twisted.internet import reactor
 
7
 
 
8
from landscape.sysinfo.deployment import run
 
9
 
 
10
 
 
11
if __name__ == "__main__":
 
12
    run(sys.argv[1:], reactor)