0 | 0 |
--- a/faraday.py
|
1 | 1 |
+++ b/faraday.py
|
2 | |
@@ -132,10 +132,6 @@ def getParserArgs():
|
|
2 |
@@ -129,10 +129,6 @@ def getParserArgs():
|
3 | 3 |
default=False,
|
4 | 4 |
help="Ignore python dependencies resolution.")
|
5 | 5 |
|
|
10 | 10 |
parser.add_argument('--cert', action="store", dest="cert_path",
|
11 | 11 |
default=None,
|
12 | 12 |
help="Path to the valid CouchDB certificate")
|
13 | |
@@ -192,45 +188,6 @@ def query_user_bool(question, default=Tr
|
|
13 |
@@ -202,45 +198,6 @@ def query_user_bool(question, default=Tr
|
14 | 14 |
"(or 'y' or 'n').\n")
|
15 | 15 |
|
16 | 16 |
|
|
56 | 56 |
def startProfiler(app, output, depth):
|
57 | 57 |
"""Profiler handler.
|
58 | 58 |
|
59 | |
@@ -518,40 +475,6 @@ _/ ____\_____ ____________ __| _/__
|
|
59 |
@@ -520,40 +477,6 @@ _/ ____\_____ ____________ __| _/__
|
60 | 60 |
logger.info("Starting Faraday IDE.")
|
61 | 61 |
|
62 | 62 |
|
|
97 | 97 |
def checkCouchUrl():
|
98 | 98 |
import requests
|
99 | 99 |
try:
|
100 | |
@@ -567,30 +490,6 @@ def checkCouchUrl():
|
|
100 |
@@ -569,29 +492,6 @@ def checkCouchUrl():
|
101 | 101 |
# Non fatal error
|
102 | 102 |
pass
|
103 | 103 |
|
|
109 | 109 |
- if getInstanceConfiguration().getVersion() != None and getInstanceConfiguration().getVersion() != f_version:
|
110 | 110 |
- logger.warning("You have different version of Faraday since your last run.\nRun ./faraday.py --update to update configuration!")
|
111 | 111 |
- if query_yes_no('Do you want to close Faraday?', 'yes'):
|
112 | |
- exit(-1)
|
|
112 |
- sys.exit(-1)
|
113 | 113 |
-
|
114 | 114 |
- getInstanceConfiguration().setVersion(f_version)
|
115 | 115 |
- f.close()
|
|
122 | 122 |
- json.dump(doc, doc_file)
|
123 | 123 |
- except Exception as e:
|
124 | 124 |
- getLogger("launcher").error("It seems that something's wrong with your version\nPlease contact customer support")
|
125 | |
- exit(-1)
|
|
125 |
- sys.exit(-1)
|
126 | 126 |
-
|
127 | |
-
|
|
127 |
|
128 | 128 |
def init():
|
129 | 129 |
"""Initializes what is needed before starting.
|
130 | |
|
131 | |
@@ -616,20 +515,12 @@ def main():
|
|
130 |
@@ -618,20 +518,12 @@ def main():
|
132 | 131 |
"""
|
133 | 132 |
|
134 | 133 |
init()
|