UCC Code Repository
Parent Directory
|
Revision Log
|
Patch
revision 85 by shmookey, Fri May 2 06:35:15 2008 UTC | revision 86 by shmookey, Fri May 2 07:24:33 2008 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #!/usr/bin/python | #!/usr/bin/python |
2 | ||
3 | import sys, re, pexpect | import sys, re, pexpect |
4 | import Log | |
5 | ||
6 | try: | try: |
7 | from Config import libPaths, dbName, dbUser, dbPass, dbAddress, dbPort | from Config import libPaths, dbName, dbUser, dbPass, dbHost, dbPort |
8 | except: | except: |
9 | Log.Message ("Error occured in finding basic configuration paramaters. Reverting to installer.", "index.py", "ERROR") | |
10 | import install | |
11 | sys.exit () | |
12 | ||
13 | sys.path += ":" + ":".join(libPaths) | |
14 | ||
15 | try: | |
16 | import pycisco, pyaaa | |
17 | except: | |
18 | Log.Message ("Couldn't import pycisco or pyaaa. Reverting to installer.", "index.py", "ERROR") | |
19 | import install | import install |
20 | sys.exit () | sys.exit () |
21 |
|
Managed by UCC Webmasters | ViewVC Help |
Powered by ViewVC 1.1.26 |