~ahasenack/landscape-client/hardy-updates

« back to all changes in this revision

Viewing changes to scripts/landscape-config

  • Committer: Andreas Hasenack
  • Date: 2011-05-05 14:12:15 UTC
  • Revision ID: andreas@canonical.com-20110505141215-5ymuyyh5es9pwa6p
Added hardy files.

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
else:
 
6
    from landscape.lib.warning import hide_warnings
 
7
    hide_warnings()
 
8
 
 
9
from landscape.configuration import main
 
10
 
 
11
 
 
12
if __name__ == "__main__":
 
13
    main(sys.argv[1:])